Use webpack for bundling

This commit is contained in:
2018-04-29 10:23:42 +03:00
parent 5ebfecb8bc
commit 4e73b218bf
11 changed files with 9100 additions and 875 deletions

View File

@@ -1,18 +1,21 @@
{
"name": "homepage",
"author": "Anton Vakhrushev",
"license": "MIT",
"license": "",
"version": "1.0.0",
"description": "Homepage",
"devDependencies": {
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.1",
"gulp-concat": "^2.6.1",
"gulp-sass": "^3.1.0"
"css-loader": "^0.28.11",
"node-sass": "^4.9.0",
"prettier": "^1.12.1",
"sass-loader": "^7.0.1",
"style-loader": "^0.21.0",
"webpack": "^4.5.0",
"webpack-cli": "^2.0.14"
},
"scripts": {
"build": "BUILD_ENV=dev gulp build",
"watch": "BUILD_ENV=dev gulp build:watch",
"build-prod": "BUILD_ENV=prod gulp build"
"watch": "",
"build": "webpack --config webpack.config.js --progress",
"build-prod": "webpack --config webpack.config.js --env.production"
}
}