Skip to content

Commit

Permalink
STRWEB-90 omit css alias cruft (#126)
Browse files Browse the repository at this point in the history
Don't manipulate `config.resolve.extensions` for the benefit of CSS
because it appears we're not actually leveraging it anywhere. Additional
spot-testing across a variety of applications doesn't show any of the
odd problems we saw when we first tried to clean this up in STRWEB-85.

Refs STRWEB-90
  • Loading branch information
zburke authored Nov 13, 2023
1 parent fe37a9c commit 6a08438
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* Remove SVGO-dependencies. Replaced by SVGR for loading STCOM SVG's as react-components. Refs STRWEB-77.
* Bump `@svgr/webpack` from `7.0.0` to `8.1.0`.
* Bump `babel-loader` from `^8.0.0` to `^9.1.3`.
* Omit CSS alias cruft, leaving `config.resolve.extenssions` alone. Refs STRWEB-90, STRWEB-85.

## [4.2.0](https://github.com/folio-org/stripes-webpack/tree/v4.2.0) (2023-01-30)
[Full Changelog](https://github.com/folio-org/stripes-webpack/compare/v4.1.2...v4.2.0)
Expand Down
2 changes: 0 additions & 2 deletions webpack.config.cli.shared.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ module.exports = (config, context) => {
"stcom-interactionStyles": getSharedStyles("lib/sharedStyles/interactionStyles"),
"stcom-variables": getSharedStyles("lib/variables"),
};

config.resolve.extensions.push('css');
}

return config;
Expand Down

0 comments on commit 6a08438

Please sign in to comment.