Use webpack for bundling
This commit is contained in:
19
package.json
19
package.json
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user