From fe4cf7aba6bf67d2403a8d44d0ea010e4c36ba90 Mon Sep 17 00:00:00 2001 From: Jinyoung Kim Date: Thu, 11 May 2017 00:20:38 +0900 Subject: [PATCH] docs(README): fix typo (#531) --- 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' ]