mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-03 12:18:22 +08:00
33 lines
684 B
JavaScript
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
|
|
}
|
|
};
|