From 5c68d1808179177f1e477f84229ea426699ca3e2 Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Sat, 21 Jul 2018 10:16:59 -0700 Subject: [PATCH] document necessary css loaders Copy the CSS config from the test into the docs, because without this the same code fails to build. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4f6b707d..b6b875be 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,12 @@ module.exports = { path: path.resolve(__dirname, 'dist'), filename: 'app.js' }, + module: { + rules: [{ + test: /\.css$/, + use: ['style-loader', 'css-loader'] + }] + }, plugins: [ new MonacoWebpackPlugin() ]