-
- Downloads
C.3. webpack
This diff is collapsed.
... | ... | @@ -5,8 +5,8 @@ |
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "babel js -d build", | ||
"watch": "babel js -d build --verbose --watch --source-maps" | ||
"build": "webpack --mode=production", | ||
"watch": "webpack --mode=development --watch" | ||
}, | ||
"author": "thomas.fritsch@univ-lille.fr", | ||
"license": "ISC", | ||
... | ... | @@ -15,6 +15,9 @@ |
"@babel/core": "^7.8.4", | ||
"@babel/plugin-proposal-class-properties": "^7.8.3", | ||
"@babel/preset-env": "^7.8.4", | ||
"prettier": "^1.19.1" | ||
"babel-loader": "^8.0.6", | ||
"prettier": "^1.19.1", | ||
"webpack": "^4.41.5", | ||
"webpack-cli": "^3.3.10" | ||
} | ||
} |
webpack.config.js
0 → 100644
Please register or sign in to comment