mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
Add simple way to test (#12)
This commit is contained in:
parent
ff60cf8b84
commit
900e817512
8 changed files with 6196 additions and 741 deletions
20
test/webpack.config.js
Normal file
20
test/webpack.config.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
const MonacoWebpackPlugin = require('../index.js');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
mode: 'development',
|
||||
entry: './index.js',
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
filename: 'app.js'
|
||||
},
|
||||
module: {
|
||||
rules: [{
|
||||
test: /\.css$/,
|
||||
use: ['style-loader', 'css-loader']
|
||||
}]
|
||||
},
|
||||
plugins: [
|
||||
new MonacoWebpackPlugin()
|
||||
]
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue