@wishfutrue/ionic-custom-build
v1.0.10
Published
This is an ionic and Angularjs packaging tool that supports the latest nodejs, built on top of gulp 4.2
Downloads
7
Readme
@wishfutrue/ionic-custom-build
ionic custom build
This is an ionic and Angularjs packaging tool that supports the latest nodejs, built on top of gulp 4.2
How to use it
var defineConfig = require("@wishfutrue/ionic-custom-build");
var { serve, build } = defineConfig({
sourcemap: boolean,
devServer: {
proxy: {
"/api": {
target: "http://192.168.0.123:18090",
pathRewrite: {
"^/api": "", // rewrite paths
},
},
},
},
});
exports.build = build;
exports.serve = serve;
Support configuration
| key | Description | type | default | |---------| --------------------------------------- |-------------------- |------------------------| | srcPath | project main directory | string | src | | entry | build js file | string | src/app/**/*.js | | buildDir | build directory | string | dist | | sourcemap | sourcemap tool | boolean | true | | devServer | server configuration suporrt proxy | boolean | {} |