mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
fix npm test script
This commit is contained in:
parent
98d97d8541
commit
50ced222cb
2 changed files with 3 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
"description": "A webpack plugin for the Monaco Editor",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "./node_modules/.bin/webpack --config test/webpack.config.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ const path = require('path');
|
|||
module.exports = {
|
||||
mode: 'development',
|
||||
entry: './index.js',
|
||||
context: __dirname,
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
filename: 'app.js'
|
||||
|
|
@ -17,4 +18,4 @@ module.exports = {
|
|||
plugins: [
|
||||
new MonacoWebpackPlugin()
|
||||
]
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue