mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-15 09:06:16 -08:00
build
This commit is contained in:
1 parent
f6d47fe6fe
commit
150052f50b
5 files changed
+9
-15
No files matched your search
@@ -37,7 +37,9 @@ module.exports = function creatRollupConfig(projectPath) {
|
||||
format: 'umd',
|
||||
sourcemap: isProd ? false : true,
|
||||
},
|
||||
exclude: ['node_modules/**', 'packages/**/node_modules/**'],
|
||||
watch: {
|
||||
exclude: ['node_modules/**', 'packages/**/node_modules/**'],
|
||||
},
|
||||
plugins: [
|
||||
json({
|
||||
exclude: ['node_modules/**', 'packages/**/node_modules/**'],
|
||||
@@ -87,7 +89,7 @@ module.exports = function creatRollupConfig(projectPath) {
|
||||
terser({
|
||||
output: {
|
||||
preamble: banner,
|
||||
comments: function() {
|
||||
comments: function () {
|
||||
return false;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user