From af27bfe868e1eb123bdb372387fa511aa7f044c0 Mon Sep 17 00:00:00 2001 From: Nicolas Gotchac Date: Wed, 26 Oct 2016 14:59:45 +0200 Subject: [PATCH] Fixes CI JS precompiled build (#2886) * Add inject to "bundle everything" list * Fixes the `build-server` script // Updates Webpack config (#2872) * New Webpack config file for libraries * Added `parity-utils` path * Removed parity in CommonChunks prod * Fixes CI build --- js/package.json | 2 +- js/webpack.config.js | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/js/package.json b/js/package.json index 8992c7fa6..bafb3efcd 100644 --- a/js/package.json +++ b/js/package.json @@ -28,7 +28,7 @@ "build:lib": "webpack --config webpack.libraries --progress", "build:dll": "webpack --config webpack.vendor --progress", - "ci:build": "npm run ci:build:dll && npm run ci:build:dll && npm run ci:build:app", + "ci:build": "npm run ci:build:dll && npm run ci:build:app && npm run ci:build:lib", "ci:build:app": "NODE_ENV=production webpack", "ci:build:lib": "NODE_ENV=production webpack --config webpack.libraries", "ci:build:dll": "NODE_ENV=production webpack --config webpack.vendor", diff --git a/js/webpack.config.js b/js/webpack.config.js index c72ef8936..51337b9ef 100644 --- a/js/webpack.config.js +++ b/js/webpack.config.js @@ -40,10 +40,6 @@ module.exports = { 'registry': ['./dapps/registry.js'], 'signaturereg': ['./dapps/signaturereg.js'], 'tokenreg': ['./dapps/tokenreg.js'], - // library - 'parity': ['./parity.js'], - 'inject': ['./web3.js'], - 'web3': ['./web3.js'], // app 'index': ['./index.js'] },