Move into monaco-editor-webpack-plugin folder

This commit is contained in:
Alex Dima 2021-11-05 12:13:58 +01:00
parent 06e4658c00
commit 94735b023f
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
25 changed files with 0 additions and 0 deletions

View file

@ -1,24 +0,0 @@
const MonacoWebpackPlugin = require('../out/index.js');
const path = require('path');
module.exports = {
mode: 'development',
entry: './index.js',
context: __dirname,
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'app.js'
},
module: {
rules: [{
test: /\.css$/,
use: ['style-loader', 'css-loader']
}, {
test: /\.ttf$/,
use: ['file-loader']
}]
},
plugins: [
new MonacoWebpackPlugin()
]
};