Skip to content

Releases: single-spa/single-spa-css

v4.0.1

10 May 00:28

Choose a tag to compare

What's Changed

  • fix: resolve ExposeRuntimeCssAssetsPlugin.js files path by @ppromerojr in #29

New Contributors

Full Changelog: v4.0.0...v4.0.1

v4.0.0

04 May 01:34

Choose a tag to compare

Breaking Changes

  • The import for ExposeRuntimeCssAssetsPlugin has changed
// New import in single-spa-css@4 is extensionless
import ExposeRuntimeCssAssetsPlugin from 'single-spa-css/ExposeRuntimeCssAssetsPlugin';

// Old import in single-spa-css@3 was not extensionless
import ExposeRuntimeCssAssetsPlugin from 'single-spa-css/ExposeRuntimeCssAssetsPlugin.cjs';
  • ExposeRuntimeCssAssetsPlugin is now an ES module rather than CJS. Upgrade to latest node if your webpack config requires CJS/ESM interop
  • package.json main and types field removed, in favor of exports field
  • umd build now has .cjs file extension rather than .js, since package.json type is "module"
  • webpack and mini-css-extract-plugin are now peerDependencies

What changed

  • ESM webpack plugin, package.json exports, support no css files by @jolyndenning in #28

Full Changelog: v3.0.1...v4.0.0

v3.0.1

31 Jan 01:22

Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.0.1

v3.0.0

25 Jan 17:20

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v3.0.0

v2.0.0

25 Jan 17:19

Choose a tag to compare

What's Changed

  • Use the chunk id instead of the chunk name in the cssAssets array by @tjfred35 in #14

New Contributors

Full Changelog: v1.2.0...v2.0.0

v1.2.0

10 Aug 20:24

Choose a tag to compare

Features

  • Support new createLink option for customizing <link> elements. (#10 via @miusuncle)

v1.1.2

12 Feb 23:37

Choose a tag to compare

Fixes

  • Fix issue with filename templates containing contenthash. Resolves #5. (#6)

v1.1.1

04 Feb 20:06

Choose a tag to compare

Fixes

  • Fix typo in webpack plugin: f2b6e6b

v1.1.0

04 Feb 20:06

Choose a tag to compare

Features

  • Implement ExposeRuntimeCssAssetsPlugin and webpackExtractedCss option (#2)

v1.0.0

04 Feb 20:05
ca53d06

Choose a tag to compare

Initial release

  • Implemented singleSpaCss() function