From dc47a2706e6cc1d1a56b72cca8ad9b9ff00f23c6 Mon Sep 17 00:00:00 2001 From: Alexandru Dima Date: Mon, 6 Jan 2020 13:57:29 +0100 Subject: [PATCH] Update example to correctly package .ttf (microsoft/monaco-editor-webpack-plugin#90) --- docs/integrate-esm.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/integrate-esm.md b/docs/integrate-esm.md index 47b1d672..61e29b54 100644 --- a/docs/integrate-esm.md +++ b/docs/integrate-esm.md @@ -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'] }] } };