🗑 Remove webpack-progerss, use native instead

This commit is contained in:
Alicia Sykes 2024-02-24 17:13:16 +00:00
parent 74c61f0bfb
commit b5482ee01d
1 changed files with 0 additions and 8 deletions

View File

@ -2,7 +2,6 @@
* Global config for the main Vue app. ES7 not supported here. * Global config for the main Vue app. ES7 not supported here.
* See docs for all config options: https://cli.vuejs.org/config * 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 // Get app mode: production, development or test
const mode = process.env.NODE_ENV || 'production'; 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 // Should enable Subresource Integrity (SRI) on link and script tags
const integrity = process.env.INTEGRITY === 'true'; 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 // Webpack Config
const configureWebpack = { const configureWebpack = {
mode, mode,
@ -31,9 +26,6 @@ const configureWebpack = {
{ test: /.svg$/, loader: 'vue-svg-loader' }, { test: /.svg$/, loader: 'vue-svg-loader' },
], ],
}, },
plugins: [
new ProgressBarPlugin({ format: progressFormat }),
],
}; };
// Application pages // Application pages