|
@@ -17,9 +17,7 @@ const {
|
|
|
build7z,
|
|
|
donation,
|
|
|
} = require('./src/config')
|
|
|
-const { webpackBarName, webpackBanner, donationConsole } = require('vab-config')
|
|
|
|
|
|
-if (donation) donationConsole()
|
|
|
const { version, author } = require('./package.json')
|
|
|
const Webpack = require('webpack')
|
|
|
const WebpackBar = require('webpackbar')
|
|
@@ -106,9 +104,6 @@ module.exports = {
|
|
|
},
|
|
|
plugins: [
|
|
|
new Webpack.ProvidePlugin(providePlugin),
|
|
|
- new WebpackBar({
|
|
|
- name: webpackBarName,
|
|
|
- }),
|
|
|
// new UglifyJsPlugin({
|
|
|
// uglifyOptions: {
|
|
|
// output: {
|
|
@@ -161,10 +156,6 @@ module.exports = {
|
|
|
},
|
|
|
},
|
|
|
})
|
|
|
- config
|
|
|
- .plugin('banner')
|
|
|
- .use(Webpack.BannerPlugin, [`${webpackBanner}${time}`])
|
|
|
- .end()
|
|
|
config.module
|
|
|
.rule('images')
|
|
|
.use('image-webpack-loader')
|