diff --git a/README.md b/README.md index 6567edf5..0afaf089 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ This could be used for non local development and production. **webpack.config.js** ```js { - loader: 'style-loader' + loader: 'style-loader', options: { hmr: false } @@ -246,7 +246,7 @@ If the return value of the `transform` function is falsy, the css will not be lo **webpack.config.js** ```js { - loader: 'style-loader' + loader: 'style-loader', options: { transform: 'path/to/transform.js' } @@ -268,7 +268,7 @@ module.exports = function (css) { **webpack.config.js** ```js { - loader: 'style-loader' + loader: 'style-loader', options: { transform: 'path/to/conditional.js' } @@ -294,7 +294,7 @@ By default, the style-loader appends `