@kanopi/pack
Version:
Pre-packaged Webpack 5 configuration with extendable configuration to coordinate loaders and rules for common web stacks
58 lines • 1.4 kB
JSON
{
"devServer": {
"allowedHosts": [],
"host": "0.0.0.0",
"port": 4400,
"sockHost": "",
"sockPort": 80,
"useProxy": false,
"watchOptions": {
"aggregateTimeout": 600,
"poll": false
}
},
"environment": {
"dotenvEnable": false
},
"externals": {
"jquery": "jQuery"
},
"filePatterns": {
"cssOutputPath": "css/[name].css",
"entryPoints": {
"scripts": "relative/path/to/file.js",
"styles": "relative/path/to/file.scss"
},
"jsOutputPath": "js/[name].js"
},
"minification": {
"enable": true,
"options": {
"terserOptions": {
"mangle": true
}
}
},
"paths": {
"aliases": {
"@": "./assets/src/"
},
"assetsRelativeToRoot": "assets"
},
"scripts": {
"additionalResolveExtensions": "",
"additionalTypescriptFileTypes": [],
"esLintAutoFix": true,
"esLintDisable": false,
"esLintFileTypes": "js,jsx,ts,tsx",
"useJsxSyntax": false
},
"sourceMaps": false,
"styles": {
"scssIncludes": [],
"styleLintAutoFix": true,
"styleLintConfigBaseDir": null,
"styleLintConfigFile": null,
"styleLintIgnorePath": null
}
}