Skip to content

Commit cf28bf3

Browse files
committed
build: add subpath export for fesm2020 bundles of components-examples
Adds a subpath export for the `fesm2020` folder of the internal `@angular/components-examples` package. This subpath is needed so that Webpack can generate lazy-loadable chunks for all examples in the documentation app.
1 parent 7569011 commit cf28bf3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components-examples/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"material design",
1414
"components"
1515
],
16+
"exports": {
17+
"./fesm2020": {"default": "./fesm2020"}
18+
},
1619
"license": "MIT",
1720
"bugs": {
1821
"url": "https://github.com/angular/components/issues"

0 commit comments

Comments
 (0)