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

parcel with quill 2.0.0dev3 #3543

Open
crapthings opened this issue Sep 23, 2019 · 4 comments
Open

parcel with quill 2.0.0dev3 #3543

crapthings opened this issue Sep 23, 2019 · 4 comments

Comments

@crapthings
Copy link

crapthings commented Sep 23, 2019

quill.js:1265 Uncaught SyntaxError: Unexpected token ':'
    at Object../node_modules/quill-delta/dist/AttributeMap.js (quill.js:1265)
    at __webpack_require__ (quill.js:36)
    at eval (Delta.js:8)
    at Object../node_modules/quill-delta/dist/Delta.js (quill.js:1277)
    at __webpack_require__ (quill.js:36)
    at eval (quill.js:10)
    at Object../core/quill.js (quill.js:611)
    at __webpack_require__ (quill.js:36)
    at eval (core.js:7)
    at Object../core.js (quill.js:539)

reproduce

https://github.com/crapthings/parcel-quill-issue-3543

@crapthings crapthings changed the title parcel with 2.0.0dev3 parcel with quill 2.0.0dev3 Sep 23, 2019
@FunkySamuel37
Copy link

Maybe related to #2408

@crapthings
Copy link
Author

parcel 1.12.3

@mischnic
Copy link
Member

It is indeed similar to #2408, but this time,

eval("...//# sourceMappingURL=AttributeMap.js.map\n\n//# sourceURL=webpack://Quill/./node_modules/quill-delta/dist/AttributeMap.js?");

was changed to

eval("...sourceURL=webpack://Quill/./node_modules/quill-delta/dist/AttributeMap.js?");

(because //# sourceMappingURL=AttributeMap.js.map\n\n//# was replaced, though it should have stopped at \n.)

@crapthings
Copy link
Author

this is not parcel, but have the same issue
meteor/meteor#10710

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

No branches or pull requests

4 participants