the project structure is like this
now I want to use the configuration file in build, how should I write it in packagejson
//package.json
{
"name": "vuewebpack4",
"version": "1.0.0",
"description": "vue+webpack4",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack --config webpack.config.js"
},
"author": "",
"license": "ISC",
"devDependencies": {
"css-loader": "^0.28.11",
"extract-text-webpack-plugin": "^3.0.2",
"html-webpack-plugin": "^3.2.0",
"vue": "^2.5.16",
"vue-loader": "^14.0.3",
"vue-template-compiler": "^2.5.16",
"webpack": "^4.8.2",
"webpack-cli": "^2.1.3",
"webpack-merge": "^4.1.2"
}
}