This commit is contained in:
Harvey Zack committed 2018-11-06 15:19:30 +08:00
1 parent c80e623012
commit e66fefe4a2
15 files changed
+5033 -5026

No files matched your search

+6 -3
View File
@@ -25,8 +25,7 @@ export default {
name: 'artplayer',
file: isProd ? 'dist/artplayer.js' : 'docs/js/artplayer.js',
format: 'umd',
exports: 'named',
banner: banner
exports: 'named'
},
plugins: [
eslint({
@@ -54,6 +53,10 @@ export default {
__ENV__: JSON.stringify(process.env.NODE_ENV || 'development'),
__VERSION__: version
}),
isProd && uglify()
isProd && uglify({
output: {
preamble: banner
}
})
]
};