From 8a1727823bed5a93437507c1cde87d45431e046b Mon Sep 17 00:00:00 2001 From: Jinyoung Kim Date: Wed, 10 May 2017 23:24:31 +0900 Subject: [PATCH] docs(readme): fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6033723a..f5381c03 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ and will resolve them. Good loaders for requiring your assets are the [file-loader](https://github.com/webpack/file-loader) and the [url-loader](https://github.com/webpack/url-loader) which you should specify in your config (see [below](https://github.com/michael-ciniawsky/css-loader#assets)). -**file.css** +**file.js** ```js import css from 'file.css'; ``` @@ -473,7 +473,7 @@ module.exports = { test: /\.css$/, use: env === 'production' ? ExtractTextPlugin.extract({ - fallback: 'style-loader' + fallback: 'style-loader', use: [ 'css-loader' ] }) : [ 'style-loader', 'css-loader' ]