mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-14 00:06:17 -08:00
add removeHtmlSpace
This commit is contained in:
1 parent
d8ba5c266e
commit
be4d1d0437
7 files changed
+30
-18
No files matched your search
@@ -12,6 +12,7 @@ const svgo = require('rollup-plugin-svgo');
|
||||
const { sizeSnapshot } = require('rollup-plugin-size-snapshot');
|
||||
const { terser } = require('rollup-plugin-terser');
|
||||
const copyAfterBuild = require('./copyAfterBuild');
|
||||
const removeHtmlSpace = require('./removeHtmlSpace');
|
||||
const json = require('rollup-plugin-json');
|
||||
|
||||
module.exports = function creatRollupConfig(projectPath) {
|
||||
@@ -82,6 +83,7 @@ module.exports = function creatRollupConfig(projectPath) {
|
||||
__ENV__: JSON.stringify(process.env.NODE_ENV || 'development'),
|
||||
__VERSION__: version,
|
||||
}),
|
||||
isProd && removeHtmlSpace(),
|
||||
isProd && sizeSnapshot(),
|
||||
isProd &&
|
||||
terser({
|
||||
|
||||
Reference in new issue
Block a user