akfun 3.1.8 → 3.1.9
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
|
@@ -101,8 +101,8 @@ module.exports = (_curEnvConfig, _akfunConfig) => {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
],
|
|
104
|
+
// exclude: /node_modules/,
|
|
104
105
|
include: curProjectDir, // [resolve('src')],
|
|
105
|
-
exclude: /node_modules/
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
test: /\.(jsx?)$/,
|
|
@@ -112,8 +112,8 @@ module.exports = (_curEnvConfig, _akfunConfig) => {
|
|
|
112
112
|
options: babelConfig
|
|
113
113
|
}
|
|
114
114
|
],
|
|
115
|
+
// exclude: /node_modules/,
|
|
115
116
|
include: curProjectDir, // [resolve('src')],
|
|
116
|
-
exclude: /node_modules/
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
// 图片资源
|
|
@@ -163,8 +163,8 @@ module.exports = (_curEnvConfig, _akfunConfig) => {
|
|
|
163
163
|
{
|
|
164
164
|
test: /\.(js|ts|tsx|jsx|vue|css|html)$/,
|
|
165
165
|
loader: 'params-replace-loader',
|
|
166
|
+
// exclude: [/node_modules/, resolve('src/mock/data')], // 排除不需要进行校验的文件夹
|
|
166
167
|
include: curProjectDir, // [resolve('src')],
|
|
167
|
-
exclude: [/node_modules/, resolve('src/mock/data')], // 排除不需要进行校验的文件夹
|
|
168
168
|
options: config.envParams
|
|
169
169
|
},
|
|
170
170
|
{
|
|
@@ -243,7 +243,7 @@ module.exports = (_curEnvConfig, _akfunConfig) => {
|
|
|
243
243
|
// context: resolve('src'),
|
|
244
244
|
extensions: ['ts', 'tsx'],
|
|
245
245
|
// include: curProjectDir, // [resolve('src')],
|
|
246
|
-
exclude: 'node_modules',
|
|
246
|
+
// exclude: 'node_modules',
|
|
247
247
|
cache: true,
|
|
248
248
|
fix: config.settings.enableESLintFix || false,
|
|
249
249
|
formatter: require('eslint-friendly-formatter'),
|
|
@@ -255,7 +255,7 @@ module.exports = (_curEnvConfig, _akfunConfig) => {
|
|
|
255
255
|
new ESLintPlugin({
|
|
256
256
|
extensions: ['js', 'jsx'],
|
|
257
257
|
// include: curProjectDir, // [resolve('src')],
|
|
258
|
-
exclude: 'node_modules',
|
|
258
|
+
// exclude: 'node_modules',
|
|
259
259
|
cache: true,
|
|
260
260
|
fix: config.settings.enableESLintFix || false,
|
|
261
261
|
formatter: require('eslint-friendly-formatter'),
|
|
@@ -267,7 +267,7 @@ module.exports = (_curEnvConfig, _akfunConfig) => {
|
|
|
267
267
|
new ESLintPlugin({
|
|
268
268
|
extensions: ['vue'],
|
|
269
269
|
// include: curProjectDir, // [resolve('src')],
|
|
270
|
-
exclude: 'node_modules',
|
|
270
|
+
// exclude: 'node_modules',
|
|
271
271
|
cache: true,
|
|
272
272
|
fix: config.settings.enableESLintFix || false,
|
|
273
273
|
formatter: require('eslint-friendly-formatter'),
|