postcat/donkey.config.js
2023-03-27 18:39:59 +08:00

33 lines
684 B
JavaScript

const baseUrl = './src/browser/src/app/services/storage/';
module.exports = {
entry: {
// target: ["./test/apiData.ts", "./test/env.ts"]
target: [baseUrl + 'api.ts']
},
output: [
{
mode: 'angular',
name: 'remote.service',
path: baseUrl
},
{
mode: 'dexie',
name: 'local.service',
path: baseUrl
},
{
mode: 'glue',
name: 'api.service',
path: baseUrl
}
// schema: "./output/entities"
// typeorm: "./output/typeorm"
],
remoteBase: '',
paramsFill: {
projectUuid: 'this.store.getCurrentProjectID',
workSpaceUuid: 'this.store.getCurrentWorkspaceUuid',
withItem: true
}
};