feat: refactoring project
This commit is contained in:
9
node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js
generated
vendored
9
node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js
generated
vendored
@@ -84,10 +84,11 @@ class ArrayPushCallbackChunkFormatPlugin {
|
||||
);
|
||||
if (runtimeModules.length > 0 || entries.length > 0) {
|
||||
const runtime = new ConcatSource(
|
||||
(runtimeTemplate.supportsArrowFunction()
|
||||
? `${RuntimeGlobals.require} =>`
|
||||
: `function(${RuntimeGlobals.require})`) +
|
||||
" { // webpackRuntimeModules\n"
|
||||
`${
|
||||
runtimeTemplate.supportsArrowFunction()
|
||||
? `${RuntimeGlobals.require} =>`
|
||||
: `function(${RuntimeGlobals.require})`
|
||||
} { // webpackRuntimeModules\n`
|
||||
);
|
||||
if (runtimeModules.length > 0) {
|
||||
runtime.add(
|
||||
|
||||
Reference in New Issue
Block a user