Skip to content

Commit 434a94e

Browse files
Merge pull request #674 from vrady/fix-es-target
fix(nf): fix esbuild target for shared libs
2 parents 58bb85d + 6cecac9 commit 434a94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/native-federation/src/utils/angular-esbuild-adapter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ async function runEsbuild(
269269
splitting: kind === 'mapping-or-exposed',
270270
platform: 'browser',
271271
format: 'esm',
272-
target: ['esnext'],
272+
target: target,
273273
logLimit: kind === 'shared-package' ? 1 : 0,
274274
plugins: plugins || [
275275
createCompilerPlugin(

0 commit comments

Comments
 (0)