-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(components): change package.json main, module and types files-p…
…aths to the recommended dist-folder files (#2886) Co-authored-by: Alizé Debray <[email protected]>
- Loading branch information
1 parent
53b36d2
commit 9b3143c
Showing
3 changed files
with
43 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
'@swisspost/design-system-components': major | ||
--- | ||
|
||
Updated the package entry properties in the package.json to the by stencil recommended files: | ||
|
||
- Updated the `main` property from `loader/index.cjs.js` to `dist/index.cjs.js` | ||
- Updated the `module` property from `loader/index.js` to `dist/loader.js` | ||
- Updated the `types` property from `loader/index.d.ts` to `dist/types/index.d.ts` | ||
- Removed the `es2017` property | ||
|
||
The usage of the `@swisspost/design-system-components/loader` entry files are still available and should be used to get the lazy-loaded components. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters