mirror of
https://github.com/Lissy93/dashy.git
synced 2025-04-08 17:06:18 +02:00
🗑 Remove webpack-progerss, use native instead
This commit is contained in:
parent
74c61f0bfb
commit
b5482ee01d
@ -2,7 +2,6 @@
|
||||
* Global config for the main Vue app. ES7 not supported here.
|
||||
* See docs for all config options: https://cli.vuejs.org/config
|
||||
*/
|
||||
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
|
||||
|
||||
// Get app mode: production, development or test
|
||||
const mode = process.env.NODE_ENV || 'production';
|
||||
@ -19,10 +18,6 @@ const publicPath = process.env.BASE_URL || '/';
|
||||
// Should enable Subresource Integrity (SRI) on link and script tags
|
||||
const integrity = process.env.INTEGRITY === 'true';
|
||||
|
||||
// Format for progress bar, shown while app building
|
||||
const progressFormat = '\x1b[1m\x1b[36mBuilding Dashy\x1b[0m '
|
||||
+ '[\x1b[1m\x1b[32m:bar\x1b[0m] :percent (:elapsed seconds)';
|
||||
|
||||
// Webpack Config
|
||||
const configureWebpack = {
|
||||
mode,
|
||||
@ -31,9 +26,6 @@ const configureWebpack = {
|
||||
{ test: /.svg$/, loader: 'vue-svg-loader' },
|
||||
],
|
||||
},
|
||||
plugins: [
|
||||
new ProgressBarPlugin({ format: progressFormat }),
|
||||
],
|
||||
};
|
||||
|
||||
// Application pages
|
||||
|
Loading…
x
Reference in New Issue
Block a user