From 411c9bd32c94c3164a08cfc196463cb969c9d47b Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sun, 20 Nov 2016 20:19:43 -0500 Subject: [PATCH] Update to Webpack 2.1 beta 27 --- package.json | 4 ++-- webpack.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a4bbff247..4fc847026 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "docs": "node docs/generator", "test-docs": "node docs/generator test", "lint": "eslint src", - "web-dist": "npm install && ./node_modules/parallel-webpack/bin/run.js" + "web-dist": "npm install && node ./node_modules/parallel-webpack/bin/run.js" }, "repository": { "type": "git", @@ -45,7 +45,7 @@ "parallel-webpack": "^1.5.0", "uglify-js": "github:mishoo/UglifyJS2#harmony", "utf-8-validate": "^1.2.1", - "webpack": "^1.13.3", + "webpack": "2.1.0-beta.27", "zlibjs": "github:imaya/zlib.js" }, "engines": { diff --git a/webpack.config.js b/webpack.config.js index 906df9147..822cbdd6e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -23,7 +23,7 @@ const createConfig = (options) => { filename, }, module: { - loaders: [ + rules: [ { test: /\.json$/, loader: 'json-loader' }, { test: /\.md$/, loader: 'ignore-loader' }, ],