1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-06 11:27:18 +00:00

ui: minimal webpack 4 build w/ proxy & hot reload

This commit is contained in:
James Hillyerd
2018-11-16 22:49:50 -08:00
parent fe20854173
commit 284dd70bc6
6 changed files with 87 additions and 23 deletions

24
ui/package.json Normal file
View File

@@ -0,0 +1,24 @@
{
"name": "inbucket-ui",
"version": "3.0.0",
"license": "MIT",
"private": true,
"scripts": {
"build": "webpack --mode production",
"watch": "webpack --mode development --watch",
"dev": "webpack-dev-server --mode development --port 3000",
"errors": "webpack --mode development --display-error-details"
},
"dependencies": {},
"devDependencies": {
"css-loader": "^1.0.1",
"elm-hot-webpack-loader": "^1.0.2",
"elm-webpack-loader": "^5.0.0",
"html-webpack-plugin": "^3.2.0",
"node-elm-compiler": "^5.0.1",
"style-loader": "^0.23.1",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10"
}
}