-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom element issue #51
Comments
Currently, the CLI does not pass options to the Svelte rollup plugin: https://github.com/carbon-design-system/sveld/blob/main/src/cli.ts#L22 As a workaround, can you try using Rollup? |
Thank you for quick reply! |
Interesting, that should work. This is the set-up of one of the integration tests, which generates markdown/JSON API metadata: https://github.com/carbon-design-system/sveld/blob/main/integration/single-export/rollup.config.js#L16 |
It was my fault and I looked in wrong folder. It works fine. Thank you! |
Hi,
I am getting:
npx sveld --json --markdown The 'tag' option is used when generating a custom element. Did you forget the 'customElement: true' compile option? .[..]/node_modules/rollup/dist/shared/rollup.js:158
yes it is a custom element and it works fine and it is defined with "true" in rollup.
The text was updated successfully, but these errors were encountered: