Update example to correctly package .ttf (microsoft/monaco-editor-webpack-plugin#90)

pull/1756/head
Alexandru Dima 5 years ago
parent e2b1aa8169
commit dc47a2706e
No known key found for this signature in database
GPG Key ID: 6E58D7B045760DA0

@ -46,6 +46,9 @@ module.exports = {
rules: [{
test: /\.css$/,
use: ['style-loader', 'css-loader']
}, {
test: /\.ttf$/,
use: ['file-loader']
}]
},
plugins: [
@ -118,6 +121,9 @@ module.exports = {
rules: [{
test: /\.css$/,
use: ['style-loader', 'css-loader']
}, {
test: /\.ttf$/,
use: ['file-loader']
}]
}
};

Loading…
Cancel
Save