Skip to content
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

Quill delta / Angular 13 / Webpack error #75

Closed
medi6 opened this issue Dec 1, 2021 · 3 comments
Closed

Quill delta / Angular 13 / Webpack error #75

medi6 opened this issue Dec 1, 2021 · 3 comments

Comments

@medi6
Copy link

medi6 commented Dec 1, 2021

Hi,

I was using Quill 2.0.0 pre 4 in Angular 12, very well, but now after Angular
update to 13, I've got a Webpack error :
ncaught SyntaxError: Unexpected token ':' at Object../node_modules/quill-delta/dist/Op.js (quill.js:1861) at __nested_webpack_require_732__ (quill.js:36) at eval (Delta.js:9) at Object../node_modules/quill-delta/dist/Delta.js (quill.js:1837) at __nested_webpack_require_732__ (quill.js:36) at eval (quill.js:6) at Module../core/quill.js (quill.js:611) at __nested_webpack_require_732__ (quill.js:36) at eval (core.js:2) at Module../core.js (quill.js:539)

I'm testing with older versions : it's ok with quill 1.3.7...
I don't know what has changed between the two Angular versions that causes this problem...

Thanks,

@medi6
Copy link
Author

medi6 commented Dec 6, 2021

\nsourceURL=webpack://Quill/./node_modules/quill-delta/dist/Op.js?"

I don't know why, but the line must be, as others :

\n//# sourceURL=webpack://Quill/./node_modules/quill-delta/dist/Op.js?"

If you know how to fix this....

Thanks,

@jhchen
Copy link
Member

jhchen commented Dec 6, 2021

Sorry we cannot debug everyone's personal custom setup

@jhchen jhchen closed this as completed Dec 6, 2021
@medi6
Copy link
Author

medi6 commented Dec 6, 2021

Ok thanks, it's a simple install of Quill with Angular 13. So it's not so personal...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants