diff --git a/ui/package.json b/ui/package.json index 70fd9499d..4de115a3c 100644 --- a/ui/package.json +++ b/ui/package.json @@ -9,12 +9,12 @@ "url": "github:influxdata/chronograf" }, "scripts": { - "build": "yarn run clean && webpack --config ./webpack/prodConfig.js", - "build:dev": "webpack --config ./webpack/devConfig.js", + "build": "yarn run clean && webpack --config ./webpack/prod.config.js", + "build:dev": "webpack --config ./webpack/dev.config.js", "build:vendor": "webpack --config webpack/vendor.config.js", - "start": "yarn run clean && yarn run build:vendor && webpack --watch --config ./webpack/devConfig.js", - "start:assets": "webpack --watch --config ./webpack/devConfig.js", - "start:hmr": "webpack-dev-server --open --config ./webpack/devConfig.js", + "start": "yarn run clean && yarn run build:vendor && webpack --watch --config ./webpack/dev.config.js", + "start:assets": "webpack --watch --config ./webpack/dev.config.js", + "start:hmr": "webpack-dev-server --open --config ./webpack/dev.config.js", "lint": "esw src/", "test": "karma start --single-run", "test:lint": "yarn run lint; yarn run test", @@ -35,6 +35,7 @@ "@types/mocha": "^2.2.48", "@types/node": "^9.4.6", "@types/react": "^16.0.38", + "add-asset-html-webpack-plugin": "^2.1.2", "autoprefixer": "^6.3.1", "babel-core": "^6.5.1", "babel-eslint": "6.1.2", @@ -70,6 +71,7 @@ "fork-ts-checker-webpack-plugin": "^0.3.0", "hanson": "^1.1.1", "hson-loader": "^1.0.0", + "html-webpack-include-assets-plugin": "^1.0.2", "html-webpack-plugin": "^2.30.1", "imports-loader": "^0.6.5", "jsdom": "^9.0.0", diff --git a/ui/src/index.template.html b/ui/src/index.template.html index e363c9738..1ebed4a16 100644 --- a/ui/src/index.template.html +++ b/ui/src/index.template.html @@ -8,7 +8,6 @@
-