mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Have the webpack plugin tests use the /release/ folder
This commit is contained in:
parent
8af6bd5f8a
commit
8430c538b4
5 changed files with 54 additions and 28 deletions
|
|
@ -12,6 +12,11 @@ module.exports = {
|
|||
filename: 'app.js',
|
||||
publicPath: ASSET_PATH
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'monaco-editor': path.resolve(__dirname, '../../release'),
|
||||
},
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
|
@ -24,5 +29,7 @@ module.exports = {
|
|||
}
|
||||
]
|
||||
},
|
||||
plugins: [new MonacoWebpackPlugin()]
|
||||
plugins: [new MonacoWebpackPlugin({
|
||||
monacoEditorPath: path.resolve(__dirname, '../../release')
|
||||
})]
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue