We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As per docs :
sveld({ input: "./src/index.js", glob: true, markdown: true, markdownOptions: { onAppend: (type, document, components) => { if (type === "h1") document.append("quote", `${components.size} components exported from ${pkg.name}@${pkg.version}.`); }, }, json: true, jsonOptions: { outFile: "docs/src/COMPONENT_API.json", }, });
But
sveld/src/rollup-plugin.ts
Line 61 in d502bdb
const dir = fs.lstatSync(input).isFile() ? path.dirname(input) : input; const entry = fs.readFileSync(input, "utf-8");
throws error as fs.readFileSync fails on a directory
fs.readFileSync
The text was updated successfully, but these errors were encountered:
Thanks for reporting.
As a workaround, are you able to omit the input property and have the Svelte entry be inferred from the package.json?
input
package.json
See the build script used by carbon-components-svelte.
carbon-components-svelte
Sorry, something went wrong.
No branches or pull requests
As per docs :
But
sveld/src/rollup-plugin.ts
Line 61 in d502bdb
throws error as
fs.readFileSync
fails on a directoryThe text was updated successfully, but these errors were encountered: