1、packOptionscss
須要注意的是,在project.config.json裏不要寫註釋。es6
用於配置項目在打包過程當中的選項。指定packOptions.ignore字段,用來配置打包時對符合指定規則的文件或文件夾進行忽略 { "description": "項目配置文件。", "setting": { "urlCheck": true, "es6": true, "postcss": true, "minified": true, "newFeature": true }, "compileType": "miniprogram", "libVersion": "1.6.6", "appid": "touristappid", "projectname": "whiteBar", "condition": { "search": { "current": -1, "list": [] }, "conversation": { "current": -1, "list": [] }, "miniprogram": { "current": -1, "list": [] } }, "packOptions": { "ignore": [ { "type":"file", "value": "gulpfile.js" } ] } }