Skip to content

Commit 99f8972

Browse files
committed
Text separation.
1 parent e6e7b82 commit 99f8972

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ Setup consists of:
139139

140140
In development environment, you want to [Enable Sourcemaps](#enable-sourcemaps) and webpack [Hot Module Replacement](https://webpack.github.io/docs/hot-module-replacement.html) (HMR). [`style-loader`](https://github.com/webpack/style-loader) already supports HMR. Therefore, Hot Module Replacement will work out of the box.
141141

142+
Setup:
143+
142144
* Install [`style-loader`](https://www.npmjs.com/package/style-loader).
143145
* Install [`css-loader`](https://www.npmjs.com/package/css-loader).
144146
* Setup `/\.css$/` loader:
@@ -175,6 +177,8 @@ In production environment, you want to extract chunks of CSS into a single style
175177
176178
– [extract-text-webpack-plugin](https://github.com/webpack/extract-text-webpack-plugin)
177179

180+
Setup:
181+
178182
* Install [`style-loader`](https://www.npmjs.com/package/style-loader).
179183
* Install [`css-loader`](https://www.npmjs.com/package/css-loader).
180184
* Use [`extract-text-webpack-plugin`](https://www.npmjs.com/package/extract-text-webpack-plugin) to extract chunks of CSS into a single stylesheet.

0 commit comments

Comments
 (0)