From 53e42bf91ef2c705168f8d04b9374c349ec14074 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Sun, 18 Jun 2017 09:57:09 +0900 Subject: Upgrade Webpacker to version 2.0 (#3729) --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index a6aa1ce1c..0abea3235 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "license": "AGPL-3.0", "scripts": { "postversion": "git push --tags", - "build:development": "cross-env NODE_ENV=development yarn webpack -- --config config/webpack/development.js", - "build:production": "cross-env NODE_ENV=production yarn webpack -- --config config/webpack/production.js", + "build:development": "cross-env RAILS_ENV=development ASSET_HOST=http://0.0.0.0:8080 ./bin/webpack", + "build:production": "cross-env RAILS_ENV=production ./bin/webpack", "manage:translations": "node ./config/webpack/translationRunner.js", "start": "rimraf ./tmp/streaming && babel ./streaming/index.js --out-dir ./tmp && node ./tmp/streaming/index.js", "storybook": "cross-env NODE_ENV=test start-storybook -s ./public -p 9001 -c storybook", @@ -97,6 +97,7 @@ "redux-thunk": "^2.2.0", "requestidlecallback": "^0.3.0", "reselect": "^3.0.1", + "resolve-url-loader": "^2.0.2", "rimraf": "^2.6.1", "sass-loader": "^6.0.5", "stringz": "^0.2.1", -- cgit