mirror of
				https://github.com/KevinMidboe/vue-chartjs.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	✨ Add umd module gereation for npm package
Signed-off-by: Jakub Juszczak <netghost03@gmail.com>
This commit is contained in:
		| @@ -14,13 +14,13 @@ console.log( | ||||
|   '  Opening index.html over file:// won\'t work.\n' | ||||
| ) | ||||
|  | ||||
| var spinner = ora('building for production...') | ||||
| var spinner = ora('building UMD module...') | ||||
| spinner.start() | ||||
|  | ||||
| var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory) | ||||
| rm('-rf', assetsPath) | ||||
| mkdir('-p', assetsPath) | ||||
| cp('-R', 'static/', assetsPath) | ||||
|  | ||||
|  | ||||
| webpack(webpackConfig, function (err, stats) { | ||||
|   spinner.stop() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user