You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue while integrating Quill.js into my webpack setup. When trying to use Quill in my project, I'm getting the following error:
kotlin
Copy code
Uncaught Error: Module parse failed: Unexpected token (28:18)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| class Quill {
static DEFAULTS = {
| bounds: null,
| modules: {
It seems to be related to how webpack is handling Quill.js files, particularly with the static class field syntax used in Quill.
I use Webpack with Encore in my symfony project.
I've tried various configurations and searched for solutions online, but I'm still encountering this issue. Could someone please provide guidance on how to resolve this error and properly integrate Quill.js into my webpack setup?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm encountering an issue while integrating Quill.js into my webpack setup. When trying to use Quill in my project, I'm getting the following error:
kotlin
Copy code
Uncaught Error: Module parse failed: Unexpected token (28:18)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| class Quill {
It seems to be related to how webpack is handling Quill.js files, particularly with the static class field syntax used in Quill.
I use Webpack with Encore in my symfony project.
I've tried various configurations and searched for solutions online, but I'm still encountering this issue. Could someone please provide guidance on how to resolve this error and properly integrate Quill.js into my webpack setup?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions