From 84950b9671c849c524bd4894b6ea088e917ab854 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Sun, 20 Nov 2022 22:26:16 +0000 Subject: [PATCH] Fix build --- build/webpack.base.conf.js | 1 - build/webpack.prod.conf.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index ad508867..2a3db96e 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -2,7 +2,6 @@ var path = require('path') var config = require('../config') var utils = require('./utils') var projectRoot = path.resolve(__dirname, '../') -const WorkboxPlugin = require('workbox-webpack-plugin'); var { VueLoaderPlugin } = require('vue-loader') var env = process.env.NODE_ENV diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index edc95857..d528cb0e 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -2,6 +2,7 @@ var path = require('path') var config = require('../config') var utils = require('./utils') var webpack = require('webpack') +const WorkboxPlugin = require('workbox-webpack-plugin'); var { merge } = require('webpack-merge') var baseWebpackConfig = require('./webpack.base.conf') var MiniCssExtractPlugin = require('mini-css-extract-plugin')