Merge pull request #23 from mikegreiling/support-node-6-lts

Add support for Node 6 LTS
This commit is contained in:
Alexandru Dima 2018-07-03 12:46:56 +02:00 committed by GitHub
commit 1e3817ae55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 11 deletions

View file

@ -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 ./node_modules/webpack/bin/webpack.js --config test/webpack.config.js"
},
"repository": {
"type": "git",

View file

@ -1,9 +0,0 @@
{
"name": "monaco-webpack-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "node ../node_modules/webpack/bin/webpack.js --config webpack.config.js"
}
}

View file

@ -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'