1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

ui: Production optimization, basic babel config

This commit is contained in:
James Hillyerd
2018-11-18 14:12:27 -08:00
parent 74e7fd1179
commit 0ed0cd2d64
3 changed files with 74 additions and 57 deletions

View File

@@ -6,11 +6,14 @@
"scripts": {
"build": "webpack --mode production",
"watch": "webpack --mode development --watch",
"dev": "webpack-dev-server --mode development --port 3000",
"dev": "webpack-dev-server --mode development --port 3000 --hot",
"errors": "webpack --mode development --display-error-details"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"babel-loader": "^8.0.4",
"css-loader": "^1.0.1",
"elm-hot-webpack-loader": "^1.0.2",
"elm-webpack-loader": "^5.0.0",