-
- Downloads
Fin partie C3
| ... | ... | @@ -5,8 +5,8 @@ |
| "main": "index.js", | ||
| "scripts": { | ||
| "test": "echo \"Error: no test specified\" && exit 1", | ||
| "build": "babel src -d build", | ||
| "watch": "babel src -d build --verbose --watch --source-maps" | ||
| "build": "webpack --mode=production", | ||
| "watch": "webpack --mode=development --watch" | ||
| }, | ||
| "author": "Thomas Fritsch <thomas.fritsch@univ-lille.fr> (https://gitlab.univ-lille.fr/thomas.fritsch)", | ||
| "homepage": "https://gitlab.univ-lille.fr/js", | ||
| ... | ... | @@ -16,6 +16,9 @@ |
| "@babel/core": "^7.12.10", | ||
| "@babel/plugin-proposal-class-properties": "^7.12.1", | ||
| "@babel/preset-env": "^7.12.11", | ||
| "prettier": "^2.2.1" | ||
| "babel-loader": "^8.2.2", | ||
| "prettier": "^2.2.1", | ||
| "webpack": "^5.19.0", | ||
| "webpack-cli": "^4.4.0" | ||
| } | ||
| } |
webpack.config.js
0 → 100644
Please sign in to comment