🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

mini-css-extract-plugin

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-css-extract-plugin - npm Package Versions

1
35
8

2.2.0

Diff
evilebottnawi
published 2.2.0 •

Changelog

Source

2.2.0 (2021-08-04)

Features

  • add link and description for options (#786) (3c5a5b7)

Bug Fixes

  • hmr in browser extension (3d09da1)
evilebottnawi
published 2.1.0 •

Changelog

Source

2.1.0 (2021-07-05)

Features

evilebottnawi
published 2.0.0 •

Changelog

Source

2.0.0 (2021-06-30)

NOTES

In the current release we have fixed many problems with publicPath, previously to generate relative URLs inside CSS files developers use different hacks: publicPath: '', publicPath: '../', using relative ../../ in the outputPath option for file-loader and etc. Now you don't need it anymore. Webpack v5 uses publicPath: "auto" by default, which means to always generate relative URLs, and now mini-css-extract-plugin does the same.

We strongly recommend use auto value by default (except when using CDN).

We also want to show you that the file-loader and url-loader are outdated, please migrate on Asset Modules.

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 12.13.0
  • minimum supported webpack version is 5.0.0
  • the modules.namedExport option was removed, you don't need it anymore, because we respect the modules.namedExport option from css-loader, just remove it
  • the publicPath option no longer automatically adds / (trailing slash), you need to specify, you need to specify it yourself if it is absent, i.e. if you have publicPath: "/my/public/path" replace it with publicPath: "/my/public/path/"

Bug Fixes

  • generating correct relative url() for assets inside CSS files when you use publicPath: "auto" (default value)
evilebottnawi
published 1.6.2 •

Changelog

Source

1.6.2 (2021-06-28)

Bug Fixes

  • performance improvement
evilebottnawi
published 1.6.1 •

Changelog

Source

1.6.1 (2021-06-25)

Bug Fixes

evilebottnawi
published 1.6.0 •

Changelog

Source

1.6.0 (2021-04-30)

Features

1.5.1 (2021-04-28)

Bug Fixes

  • compatibility with named export and es5 (#751) (3be81bb)
evilebottnawi
published 1.5.1 •

Changelog

Source

1.5.1 (2021-04-28)

Bug Fixes

  • compatibility with named export and es5 (#751) (3be81bb)
evilebottnawi
published 1.5.0 •

Changelog

Source

1.5.0 (2021-04-17)

Features

  • add experimental support for importModule, improve perfomance (#737) (8471ac2)
evilebottnawi
published 1.4.1 •

Changelog

Source

1.4.1 (2021-04-07)

Bug Fixes

evilebottnawi
published 1.4.0 •

Changelog

Source

1.4.0 (2021-03-26)

Features

1.3.9 (2021-02-25)

Bug Fixes

  • allow consumers to access CssModule and CssDependency (#703) (6484345)
  • allow to use auto value with the publicPath option (#709) (1be21d2)

1.3.8 (2021-02-18)

Bug Fixes

1.3.7 (2021-02-15)

Bug Fixes

  • compatibility with webpack v5 (9b6b8b3)

1.3.6 (2021-02-08)

Bug Fixes

1.3.5 (2021-01-28)

Bug Fixes

1.3.4 (2021-01-13)

Bug Fixes

1.3.3 (2020-12-10)

Bug Fixes

  • serializing big strings in sourceMap (#665) (f7a5e53)

1.3.2 (2020-12-04)

Bug Fixes

1.3.1 (2020-11-12)

Bug Fixes