Skip to content

Commit 6ec4bad

Browse files
committed
fix(nf): don't using splitting for npm packages
1 parent 180de7b commit 6ec4bad

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

libs/native-federation/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,15 @@ We will at least provide a new version of this package per Angular major. If nec
2323
- Use version 16.1.x for Angular 16.1.x
2424
- Use version 16.2.x for Angular 16.2.x
2525
- Use version 17.x for Angular 17.x
26-
- Use version 17.1.x-rc.x for Angular 17.1+
26+
- Use version 17.1.x for Angular 17.1+
27+
28+
29+
## Angular Integration
30+
31+
Since 17.1, Native Federation for Angular uses the Angular CLI's ``esbuild``-based **Application Builder** and the CLI's **Dev Server** to keep track with all the innovations and performance-improvements in that space.
32+
33+
Please find some [information for upgrading to 17.1. here](https://github.com/angular-architects/module-federation-plugin/blob/main/libs/native-federation/migrate-appbuilder.md).
34+
2735

2836
## Credits
2937

libs/native-federation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-architects/native-federation",
3-
"version": "17.1.0-rc.1",
3+
"version": "17.1.1",
44
"main": "src/index.js",
55
"generators": "./collection.json",
66
"builders": "./builders.json",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ async function runEsbuild(
268268
'async-await': false,
269269
'object-rest-spread': false,
270270
},
271-
splitting: true,
271+
splitting: (kind === 'mapping-or-exposed'),
272272
platform: 'browser',
273273
format: 'esm',
274274
target: ['esnext'],

0 commit comments

Comments
 (0)