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
chrome
https://github.com/padcom/grapesjs-import-error
0.21.6 changed the way things are exported and now VSCode doesn't see type declarations:
It happens when TypeScript uses:
"compilerOptions": { "module": "ESNext", "moduleResolution": "bundler", "strict": true }
which is the default setting in @vue/tsconfig/tsconfig.json used in all Vue.js applications and also it is the default in all vite.js templates.
That's how it should look in https://github.com/GrapesJS/grapesjs/blob/dev/package.json#L12:
"exports": { ".": { "import": "./dist/grapes.mjs", "require": "./dist/grapes.min.js", "types": "./dist/index.d.ts" }, "./*": "./*" },
The text was updated successfully, but these errors were encountered:
PR: #5399
Sorry, something went wrong.
7ac146c
No branches or pull requests
GrapesJS version
What browser are you using?
chrome
Reproducible demo link
https://github.com/padcom/grapesjs-import-error
Describe the bug
0.21.6 changed the way things are exported and now VSCode doesn't see type declarations:
It happens when TypeScript uses:
which is the default setting in @vue/tsconfig/tsconfig.json used in all Vue.js applications and also it is the default in all vite.js templates.
That's how it should look in https://github.com/GrapesJS/grapesjs/blob/dev/package.json#L12:
Code of Conduct
The text was updated successfully, but these errors were encountered: