mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25: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",
|
"description": "A webpack plugin for the Monaco Editor",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "./node_modules/.bin/webpack --config test/webpack.config.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ const path = require('path');
|
||||||
module.exports = {
|
module.exports = {
|
||||||
mode: 'development',
|
mode: 'development',
|
||||||
entry: './index.js',
|
entry: './index.js',
|
||||||
|
context: __dirname,
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
filename: 'app.js'
|
filename: 'app.js'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue