akfun 1.6.8 → 1.6.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
|
@@ -38,7 +38,7 @@ module.exports = (akfunConfig) => {
|
|
|
38
38
|
devtool: curEnvConfig.productionSourceMap ? '#source-map' : false, // '#source-map': 源码,false:压缩代码
|
|
39
39
|
externals: config.webpack.ignoreNodeModules
|
|
40
40
|
? [nodeExternals({
|
|
41
|
-
|
|
41
|
+
allowlist: config.webpack.allowList ? config.webpack.allowList : []
|
|
42
42
|
})].concat(config.webpack.externals)
|
|
43
43
|
: config.webpack.externals,
|
|
44
44
|
plugins: [
|
|
@@ -57,7 +57,7 @@ module.exports = (akfunConfig) => {
|
|
|
57
57
|
},
|
|
58
58
|
externals: config.webpack.ignoreNodeModules
|
|
59
59
|
? [nodeExternals({
|
|
60
|
-
|
|
60
|
+
allowlist: config.webpack.allowList ? config.webpack.allowList : []
|
|
61
61
|
})].concat(config.webpack.externals)
|
|
62
62
|
: config.webpack.externals,
|
|
63
63
|
// devtool: '#cheap-module-eval-source-map', // 本地开发环境中的取值
|