Upgrade composer dependencies
All checks were successful
Deploy Spot / deploy (push) Successful in 33s
All checks were successful
Deploy Spot / deploy (push) Successful in 33s
This commit is contained in:
@@ -2,7 +2,6 @@ const path = require('path');
|
||||
const fs = require('fs');
|
||||
const webpack = require('webpack');
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||
const SymlinkWebpackPlugin = require('symlink-webpack-plugin');
|
||||
const { VueLoaderPlugin } = require('vue-loader');
|
||||
|
||||
@@ -26,7 +25,10 @@ module.exports = (env, argv) => {
|
||||
path: DIST,
|
||||
filename: '[name].js',
|
||||
chunkFilename: '[name].js',
|
||||
publicPath: './'
|
||||
publicPath: './',
|
||||
clean: {
|
||||
keep: /^(files|geo|images\/icons)(\/.*)?$/
|
||||
}
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
@@ -112,7 +114,6 @@ module.exports = (env, argv) => {
|
||||
{ origin: '../geo/', symlink: 'geo' },
|
||||
{ origin: '../src/images/icons/', symlink: 'images/icons' }
|
||||
]),
|
||||
new CleanWebpackPlugin(),
|
||||
new webpack.DefinePlugin({
|
||||
__VUE_OPTIONS_API__: 'true',
|
||||
__VUE_PROD_DEVTOOLS__: 'false',
|
||||
@@ -155,4 +156,4 @@ function mapChunkGroups(chunkGroups = {}) {
|
||||
.filter((file) => file.endsWith('.js'))
|
||||
])
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user