Add simple way to test (#12)

This commit is contained in:
Alex Dima 2018-05-18 14:48:27 +02:00
parent ff60cf8b84
commit 900e817512
8 changed files with 6196 additions and 741 deletions

20
test/webpack.config.js Normal file
View 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()
]
};