更换后台UI,使用adminlteUI
This commit is contained in:
11
public/static/plugins/Sortable/scripts/minify.js
Normal file
11
public/static/plugins/Sortable/scripts/minify.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const UglifyJS = require('uglify-js'),
|
||||
fs = require('fs'),
|
||||
package = require('../package.json');
|
||||
|
||||
const banner = `/*! Sortable ${ package.version } - ${ package.license } | ${ package.repository.url } */\n`;
|
||||
|
||||
fs.writeFileSync(
|
||||
`./Sortable.min.js`,
|
||||
banner + UglifyJS.minify(fs.readFileSync(`./Sortable.js`, 'utf8')).code,
|
||||
'utf8'
|
||||
);
|
||||
Reference in New Issue
Block a user