You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add some entries to `package.json` to improve compatibility with webpack
- Add default `style` and `sass` exports as per webpack requirements
- Add `public/assets/styles/*` exports for CSS files
- Add `src/styles/*` exports for Scss files. Extension can be omitted
to prevent linting issues with `stylelint`
- Add `*.scss` and `*.css` to "side effects" to prevent issues with
tree-shaking
With this commit, it is possible to import styles with the same syntax
of v10 to prevent a breaking change in webpack based applications
Refs:
- https://webpack.js.org/guides/package-exports/
-
CloseChoices-js#1184
0 commit comments