HM-22. Добавлено в Webpack dev-server clean, загрузка картинок и шрифтов (#1)

This commit is contained in:
Metanka
2020-07-06 10:30:51 +03:00
committed by GitHub
parent 7103f13750
commit 3a7f88def3
9 changed files with 4101 additions and 18 deletions

View File

@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "webpack"
"build": "webpack --mode=production"
},
"repository": {
"type": "git",
@ -21,10 +21,15 @@
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"babel-loader": "^8.1.0",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^3.6.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"image-webpack-loader": "^6.0.0",
"mini-css-extract-plugin": "^0.9.0",
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
}
}