monaco-editor/test/webpack.config.js

22 lines
455 B
JavaScript
Raw Normal View History

2018-05-18 20:48:27 +08:00
const MonacoWebpackPlugin = require('../index.js');
const path = require('path');
module.exports = {
mode: 'development',
entry: './index.js',
2018-07-03 14:19:41 +08:00
context: __dirname,
2018-05-18 20:48:27 +08:00
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'app.js'
},
module: {
rules: [{
test: /\.css$/,
use: ['style-loader', 'css-loader']
}]
},
plugins: [
new MonacoWebpackPlugin()
]
2018-07-03 14:19:41 +08:00
};