-
- Downloads
C3
This diff is collapsed.
... | @@ -5,8 +5,8 @@ | ... | @@ -5,8 +5,8 @@ |
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | "test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "babel src -d build", | "build": "webpack --mode=production", | ||
"watch": "babel src -d build --verbose --watch --source-maps" | "watch": "webpack --mode=development --watch" | ||
}, | }, | ||
"author": "Thomas Fritsch <thomas.fritsch@univ-lille.fr> (https://gitlab.univ-lille.fr/thomas.fritsch)", | "author": "Thomas Fritsch <thomas.fritsch@univ-lille.fr> (https://gitlab.univ-lille.fr/thomas.fritsch)", | ||
"homepage": "https://gitlab.univ-lille.fr/js", | "homepage": "https://gitlab.univ-lille.fr/js", | ||
... | @@ -16,6 +16,9 @@ | ... | @@ -16,6 +16,9 @@ |
"@babel/core": "^7.12.10", | "@babel/core": "^7.12.10", | ||
"@babel/plugin-proposal-class-properties": "^7.12.1", | "@babel/plugin-proposal-class-properties": "^7.12.1", | ||
"@babel/preset-env": "^7.12.11", | "@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 register or sign in to comment