akfun 3.1.7 → 3.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akfun",
3
- "version": "3.1.7",
3
+ "version": "3.1.8",
4
4
  "description": "前端脚手架:支持Vue技术栈和react技术栈",
5
5
  "keywords": [
6
6
  "前端工程",
@@ -113,7 +113,6 @@
113
113
  "inquirer": "^8.2.0",
114
114
  "mini-css-extract-plugin": "^2.5.3",
115
115
  "css-minimizer-webpack-plugin": "^3.4.1",
116
- "monaco-editor-webpack-plugin": "6.0.0",
117
116
  "sass": "^1.49.7",
118
117
  "open": "^8.4.0",
119
118
  "ora": "^4.0.4",
@@ -105,7 +105,6 @@
105
105
  "http-proxy-middleware": "^2.0.2",
106
106
  "inquirer": "^8.2.0",
107
107
  "mini-css-extract-plugin": "^2.5.3",
108
- "monaco-editor-webpack-plugin": "6.0.0",
109
108
  "sass": "^1.49.7",
110
109
  "open": "^8.4.0",
111
110
  "ora": "^4.0.4",
@@ -6,7 +6,7 @@ const isProduction = process.NODE_ENV === 'production';
6
6
  module.exports = {
7
7
  loaders: utils.cssLoaders({
8
8
  cssLoaderUrl: config.webpack.cssLoaderUrl, // 用于自定义css-loader配置项[url]
9
- cssLoaderUrlDir: config.webpack.cssLoaderUrlDir, // 用于css-loader配置项[url]的生效目录
9
+ cssLoaderUrlDir: config.webpack.cssLoaderUrlDir, // 用于设置css-loader配置项[url]的生效目录
10
10
  sourceMap: isProduction // 生产环境sourceMap是true
11
11
  ? config.build.productionSourceMap
12
12
  : config.dev.cssSourceMap,
@@ -7,7 +7,6 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin'); // 替换extrac
7
7
  const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
8
8
  const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
9
9
  const CompressionWebpackPlugin = require('compression-webpack-plugin');
10
- const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
11
10
 
12
11
  const utils = require('./loaderUtils');
13
12
  const { resolve } = require('../utils/pathUtils'); // 统一路径解析
@@ -133,11 +132,6 @@ module.exports = (akfunConfig) => {
133
132
  );
134
133
  }
135
134
 
136
- // 是否开启
137
- if (curEnvConfig.openMonacoWebpackPlugin) {
138
- webpackProdConfig.plugins.push(new MonacoWebpackPlugin());
139
- }
140
-
141
135
  if (curEnvConfig.bundleAnalyzerReport) {
142
136
  webpackProdConfig.plugins.push(new BundleAnalyzerPlugin());
143
137
  }