mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-18 01:20:04 +08:00
更新
This commit is contained in:
915
typecho/write/dist/index.bundle.js
vendored
915
typecho/write/dist/index.bundle.js
vendored
File diff suppressed because one or more lines are too long
@@ -14,8 +14,8 @@
|
||||
"@codemirror/view": "^0.18.16"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@lopatnov/rollup-plugin-uglify": "^2.1.1",
|
||||
"@rollup/plugin-node-resolve": "^13.0.0",
|
||||
"rollup": "^2.51.0"
|
||||
"rollup": "^2.51.1",
|
||||
"rollup-plugin-terser": "^7.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
||||
import uglify from '@lopatnov/rollup-plugin-uglify';
|
||||
import { terser } from 'rollup-plugin-terser';
|
||||
export default {
|
||||
input: './js/index.js',
|
||||
output: {
|
||||
file: './dist/index.bundle.js',
|
||||
format: 'iife',
|
||||
inlineDynamicImports: true
|
||||
inlineDynamicImports: true,
|
||||
minify: true
|
||||
},
|
||||
plugins: [nodeResolve(), uglify()]
|
||||
plugins: [nodeResolve(), terser({ compress: { drop_console: true } })]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user