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
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1852,7 +1852,7 @@ import "./styles.css";
1852
1852
1853
1853
> [!WARNING]
1854
1854
>
1855
-
> You should not use [`style-loader`](https://github.com/webpack-contrib/style-loader) or [`mini-css-extract-plugin`](https://github.com/webpack-contrib/mini-css-extract-plugin) with this value.
1855
+
> You should not use [`style-loader`](https://github.com/webpack/style-loader) or [`mini-css-extract-plugin`](https://github.com/webpack/mini-css-extract-plugin) with this value.
1856
1856
>
1857
1857
> The `esModule` option should be enabled if you want to use it with [`CSS modules`](https://github.com/webpack/css-loader#modules). By default for locals [named export](https://github.com/webpack/css-loader#namedexport) will be used.
1858
1858
@@ -1889,7 +1889,7 @@ console.log(sheet);
1889
1889
1890
1890
> [!WARNING]
1891
1891
>
1892
-
> You don't need [`style-loader`](https://github.com/webpack-contrib/style-loader) anymore, please remove it.
1892
+
> You don't need [`style-loader`](https://github.com/webpack/style-loader) anymore, please remove it.
1893
1893
1894
1894
> [!WARNING]
1895
1895
>
@@ -2004,9 +2004,9 @@ module.exports = {
2004
2004
2005
2005
For `production` builds, it's recommended to extract the CSS from your bundle being able to use parallel loading of CSS/JS resources later on.
2006
2006
2007
-
This can be achieved by using the [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin), because it creates separate css files.
2007
+
This can be achieved by using the [mini-css-extract-plugin](https://github.com/webpack/mini-css-extract-plugin), because it creates separate css files.
2008
2008
2009
-
For `development` mode (including `webpack-dev-server`) you can use [style-loader](https://github.com/webpack-contrib/style-loader), because it injects CSS into the DOM using multiple `<style></style>` and works faster.
2009
+
For `development` mode (including `webpack-dev-server`) you can use [style-loader](https://github.com/webpack/style-loader), because it injects CSS into the DOM using multiple `<style></style>` and works faster.
2010
2010
2011
2011
> [!NOTE]
2012
2012
>
@@ -2123,7 +2123,7 @@ module.exports = {
2123
2123
2124
2124
For production builds it's recommended to extract the CSS from your bundle to enable parallel loading of CSS/JS resources later on.
2125
2125
2126
-
- This can be achieved by using the [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to extract the CSS when running in production mode.
2126
+
- This can be achieved by using the [mini-css-extract-plugin](https://github.com/webpack/mini-css-extract-plugin) to extract the CSS when running in production mode.
2127
2127
2128
2128
- As an alternative, if seeking better development performance and css outputs that mimic production. [extract-css-chunks-webpack-plugin](https://github.com/faceyspacey/extract-css-chunks-webpack-plugin) offers a hot module reload friendly, extended version of mini-css-extract-plugin. HMR real CSS files in dev, works like mini-css in non-dev.
0 commit comments