Skip to content

Commit 2600e8f

Browse files
committed
Lint
1 parent e9d4a32 commit 2600e8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev-packages/rollup-utils/plugins/make-esm-plugin.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ export function makePackageNodeEsm() {
1212
// We need to keep the `sideEffects` value from the original package.json,
1313
// as e.g. webpack seems to depend on this
1414
// without this, tree shaking does not work as expected
15-
const packageJSON = JSON.parse(fs.readFileSync(path.resolve(process.cwd(), './package.json'), { encoding: 'utf8' }));
15+
const packageJSON = JSON.parse(
16+
fs.readFileSync(path.resolve(process.cwd(), './package.json'), { encoding: 'utf8' }),
17+
);
1618
const sideEffects = packageJSON.sideEffects;
1719
// For module federation we need to keep the version of the package
1820
const version = packageJSON.version;

0 commit comments

Comments
 (0)