Skip to content

Commit 0b82b13

Browse files
committed
format
1 parent b1c3ad4 commit 0b82b13

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

packages/bundlers/default/src/DefaultBundler.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,9 @@ function createIdealGraph(
11021102
let a = assets[assetId];
11031103
if (
11041104
!a.isBundleSplittable ||
1105-
(bundleRoots.get(a) && getBundleFromBundleRoot(a).needsStableName && a.env.context === asset.env.context)
1105+
(bundleRoots.get(a) &&
1106+
getBundleFromBundleRoot(a).needsStableName &&
1107+
a.env.context === asset.env.context)
11061108
) {
11071109
// Add asset to non-splittable bundles.
11081110
addAssetToBundleRoot(asset, a);

packages/core/package-manager/src/NodePackageManager.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,10 @@ export class NodePackageManager implements PackageManager {
244244
) {
245245
let compile = m._compile;
246246
m._compile = (code, filename) => {
247-
let out = transformSync(code, {filename, module: {type: 'commonjs', ignoreDynamic: true}});
247+
let out = transformSync(code, {
248+
filename,
249+
module: {type: 'commonjs', ignoreDynamic: true},
250+
});
248251
compile.call(m, out.code, filename);
249252
};
250253

0 commit comments

Comments
 (0)