mirror of https://github.com/ColorlibHQ/AdminLTE
Change "js-compile" script. Moving settings files to one place.
parent
323b0733b9
commit
0dfa558aef
|
@ -1,6 +1,6 @@
|
|||
import babel from 'rollup-plugin-babel'
|
||||
|
||||
const pkg = require('./package')
|
||||
const pkg = require('../../package')
|
||||
const year = new Date().getFullYear()
|
||||
|
||||
const globals = {
|
||||
|
@ -22,7 +22,8 @@ export default {
|
|||
},
|
||||
plugins: [
|
||||
babel({
|
||||
exclude: 'node_modules/**'
|
||||
exclude: 'node_modules/**',
|
||||
externalHelpers: true
|
||||
})
|
||||
]
|
||||
}
|
|
@ -13,7 +13,7 @@
|
|||
"compile": "npm-run-all --parallel js css",
|
||||
"dev": "npm-run-all --parallel watch sync",
|
||||
"js": "npm-run-all --sequential js-compile js-minify",
|
||||
"js-compile": "rollup -c --sourcemap",
|
||||
"js-compile": "rollup --config build/config/rollup.config.js --sourcemap",
|
||||
"js-minify": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/adminlte.js.map,includeSources,url=adminlte.min.js.map\" --output dist/js/adminlte.min.js dist/js/adminlte.js",
|
||||
"production": "npm-run-all --parallel compile && node build/npm/Publish.js -v",
|
||||
"plugins": "node build/npm/Publish.js -v",
|
||||
|
|
Loading…
Reference in New Issue