document necessary css loaders

Copy the CSS config from the test into the docs, because without this
the same code fails to build.
pull/2748/head
Evan Martin 2018-07-21 10:16:59 -07:00 committed by GitHub
parent 48e17a0001
commit 5c68d18081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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()
]