-
- Downloads
Partie C
Showing
- .babelrc 4 additions, 2 deletions.babelrc
- index.html 1 addition, 1 deletionindex.html
- package-lock.json 1118 additions, 5 deletionspackage-lock.json
- package.json 7 additions, 3 deletionspackage.json
- src/components/Component.js 25 additions, 0 deletionssrc/components/Component.js
- src/components/Img.js 7 additions, 0 deletionssrc/components/Img.js
- src/main.js 3 additions, 30 deletionssrc/main.js
- webpack.config.js 27 additions, 0 deletionswebpack.config.js
... | ... | @@ -5,8 +5,9 @@ |
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "babel src -d build", | ||
"watch": "./node_modules/.bin/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 +17,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" | ||
} | ||
} |
src/components/Component.js
0 → 100644
src/components/Img.js
0 → 100644
webpack.config.js
0 → 100644
Please register or sign in to comment