Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Mar 27, 2022
1 parent 6f0f196 commit 98a2f09
Show file tree
Hide file tree
Showing 4 changed files with 20,613 additions and 2,593 deletions.
1 change: 1 addition & 0 deletions .ncurc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ module.exports = {
'stylus',
'stylus-loader',
'terser-webpack-plugin',
/^vue/,
]
}
10 changes: 0 additions & 10 deletions build-config/webpack.config.base.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
const path = require('path')
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const CleanCSSPlugin = require('less-plugin-clean-css')
const ESLintPlugin = require('eslint-webpack-plugin')

const vueLoaderConfig = require('./vue-loader.config')
Expand Down Expand Up @@ -85,11 +83,6 @@ module.exports = {
loader: 'less-loader',
options: {
sourceMap: true,
lessOptions: {
plugins: [
new CleanCSSPlugin({ advanced: true }),
],
},
},
}),
},
Expand Down Expand Up @@ -138,9 +131,6 @@ module.exports = {
extensions: ['js', 'vue'],
formatter: require('eslint-formatter-friendly'),
}),
new FriendlyErrorsPlugin({
clearConsole: false,
}),
new MiniCssExtractPlugin({
// Options similar to the same options in webpackOptions.output
// both options are optional
Expand Down
Loading

0 comments on commit 98a2f09

Please sign in to comment.