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
Describe the bug
I just tried a simple svelte app (copying code from this folder) and it gives an error:
css-loader.js:30 Uncaught TypeError: Class constructor SvelteComponentDev cannot be invoked without 'new'
I am using parcel-bundler and parcel-plugin-svelte.
parcel-bundler
parcel-plugin-svelte
To Reproduce
npm init -y npm i svelte parcel-bundler parcel-plugin-svelte
Then add the 3 source files from the earlier linked folder, and:
npx parcel index.html
Steps to Fix
To fix it you just need this in your package.json, which is not obvious and makes me think its a bug:
... "browserslist": [ "last 1 chrome versions" ] ...
Versions
"devDependencies": { "parcel-bundler": "^1.12.4", "parcel-plugin-svelte": "^4.0.4", "svelte": "^3.12.1" }
The text was updated successfully, but these errors were encountered:
See DeMoorJasper/parcel-plugin-svelte#44
Sorry, something went wrong.
No branches or pull requests
Describe the bug
I just tried a simple svelte app (copying code from this folder) and it gives an error:
css-loader.js:30 Uncaught TypeError: Class constructor SvelteComponentDev cannot be invoked without 'new'
I am using
parcel-bundler
andparcel-plugin-svelte
.To Reproduce
Then add the 3 source files from the earlier linked folder, and:
Steps to Fix
To fix it you just need this in your package.json, which is not obvious and makes me think its a bug:
Versions
The text was updated successfully, but these errors were encountered: