Skip to content

Commit 7a3dd98

Browse files
committed
fix: dont use lazy imports by default
1 parent 03e1065 commit 7a3dd98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/repack/src/loaders/babelSwcLoader/babelSwcLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default async function babelSwcLoader(
7272
const inputSourceMap: InputSourceMap = sourceMap
7373
? JSON.parse(sourceMap)
7474
: undefined;
75-
const lazyImports = options.lazyImports ?? true;
75+
const lazyImports = options.lazyImports ?? false;
7676
const projectRoot = getProjectRootPath(this);
7777

7878
const withSourceMaps = this.resourcePath.match(/node_modules/)

0 commit comments

Comments
 (0)