-
- Downloads
C.3. webpack
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 js -d build", | "build": "webpack --mode=production", | ||
"watch": "babel js -d build --verbose --watch --source-maps" | "watch": "webpack --mode=development --watch" | ||
}, | }, | ||
"author": "thomas.fritsch@univ-lille.fr", | "author": "thomas.fritsch@univ-lille.fr", | ||
"license": "ISC", | "license": "ISC", | ||
... | @@ -15,6 +15,9 @@ | ... | @@ -15,6 +15,9 @@ |
"@babel/core": "^7.8.4", | "@babel/core": "^7.8.4", | ||
"@babel/plugin-proposal-class-properties": "^7.8.3", | "@babel/plugin-proposal-class-properties": "^7.8.3", | ||
"@babel/preset-env": "^7.8.4", | "@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