mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
21 lines
455 B
JavaScript
21 lines
455 B
JavaScript
const MonacoWebpackPlugin = require('../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']
|
|
}]
|
|
},
|
|
plugins: [
|
|
new MonacoWebpackPlugin()
|
|
]
|
|
};
|