Skip to content

Commit 27d2372

Browse files
committed
Upgrade @rollup/plugin-node-resolve
1 parent 789aca0 commit 27d2372

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

repo-scripts/size-analysis/bundle/rollup.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ export async function bundleWithRollup(
3636
};
3737

3838
if (moduleDirectory) {
39-
resolveOptions.customResolveOptions = {
40-
moduleDirectory
41-
};
39+
resolveOptions.moduleDirectories = [moduleDirectory];
4240
}
4341

4442
const bundle = await rollup.rollup({

0 commit comments

Comments
 (0)