mirror of
				https://github.com/KevinMidboe/vue-chartjs.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	Refactor: Don't include package.json into dist files
Instead of including package.json file into the build files. Use webpacks DefinePlugin to define a global lib version.
This commit is contained in:
		| @@ -15,5 +15,8 @@ module.exports = { | ||||
|     'arrow-parens': 0, | ||||
|     // allow debugger during development | ||||
|     'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0 | ||||
|   }, | ||||
|   "globals": { | ||||
|     "LIB_VERSION": true | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user