mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Move into monaco-editor-webpack-plugin folder
This commit is contained in:
parent
06e4658c00
commit
94735b023f
25 changed files with 0 additions and 0 deletions
24
monaco-editor-webpack-plugin/test/webpack.config.js
Normal file
24
monaco-editor-webpack-plugin/test/webpack.config.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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()
|
||||
]
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue