-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hi, I'm working on an Ionic application where I load remote components from, and on the remote component which i forked form remote component starter, i tried putting shared dependencies into remote-component.config.js.
The first one i tried was putting "@ionic/react": require("@ionic/react"),
and I'm getting
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
^^^^^^
SyntaxError: Unexpected token 'export'
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1176:20)
at Module._compile (node:internal/modules/cjs/loader:1218:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (D:\Iotatechnology\iotaboard-frontend\dashboard-modules\iotaboard-dashboard-rwth\node_modules\@ionic\react\dist\index.js:6:20)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
Any clue why this is happening?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels