cap-copilot-sdk 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cds-plugin.js +1 -2
- package/package.json +1 -1
package/cds-plugin.js
CHANGED
|
@@ -105,10 +105,9 @@ function _escHtml(str) {
|
|
|
105
105
|
// + the widget script. Works for ALL Fiori/UI5 apps served by this CAP server
|
|
106
106
|
// without any manual changes to their index.html files.
|
|
107
107
|
function _buildWidgetSnippet() {
|
|
108
|
-
// Serve the widget JS bundle from node_modules so no CDN dependency
|
|
109
108
|
const widgetBundlePath = (() => {
|
|
110
109
|
try {
|
|
111
|
-
return require.resolve("cap-copilot-widget
|
|
110
|
+
return require.resolve("cap-copilot-widget", {
|
|
112
111
|
paths: [process.cwd()],
|
|
113
112
|
});
|
|
114
113
|
} catch {
|
package/package.json
CHANGED