diff --git a/lib/build.js b/lib/build.js index f6fe231..db7ecac 100644 --- a/lib/build.js +++ b/lib/build.js @@ -13,7 +13,7 @@ module.exports = class NotificationsBuildPlugin extends BuildPlugin { async build() { if (exists(cds.env.requires.notifications?.types)) { const fileName = path.basename(cds.env.requires.notifications.types); - await this.copy(cds.env.requires.notifications.types).to(fileName); + await copy(cds.env.requires.notifications.types).to(path.join(this.task.dest, fileName)); } } } \ No newline at end of file diff --git a/package.json b/package.json index 1bb0a18..60493f9 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "chai": "^4.3.10" }, "scripts": { + "start": "cds-serve", "lint": "npx eslint .", "test": "npx jest", "test-with-coverage": "npx jest --coverage"