-
- Downloads
correction
Showing
- dist/main.js 14 additions, 0 deletionsdist/main.js
- index.html 1 addition, 1 deletionindex.html
- package-lock.json 2358 additions, 3 deletionspackage-lock.json
- package.json 8 additions, 5 deletionspackage.json
- src/components/Component.js 1 addition, 0 deletionssrc/components/Component.js
- src/components/Img.js 4 additions, 7 deletionssrc/components/Img.js
- webpack.config.js 27 additions, 0 deletionswebpack.config.js
dist/main.js
0 → 100644
This diff is collapsed.
... | @@ -2,11 +2,11 @@ | ... | @@ -2,11 +2,11 @@ |
"name": "pizzaland", | "name": "pizzaland", | ||
"version": "1.0.0", | "version": "1.0.0", | ||
"description": "", | "description": "", | ||
"main": "index.js", | "main": "main.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", | ||
"auto": "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", | ||
... | @@ -15,6 +15,9 @@ | ... | @@ -15,6 +15,9 @@ |
"@babel/cli": "^7.16.8", | "@babel/cli": "^7.16.8", | ||
"@babel/core": "^7.16.12", | "@babel/core": "^7.16.12", | ||
"@babel/preset-env": "^7.16.11", | "@babel/preset-env": "^7.16.11", | ||
"prettier": "^2.5.1" | "babel-loader": "^8.2.3", | ||
"prettier": "^2.5.1", | |||
"webpack": "^5.68.0", | |||
"webpack-cli": "^4.9.2" | |||
} | } | ||
} | } |
webpack.config.js
0 → 100644
Please register or sign in to comment