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

Importing quill-emoji/dist/quill-emoji.js at Angular 11 it is causing optimization bailouts #119

Open
zhuniqiabedin opened this issue Jan 2, 2021 · 0 comments

Comments

@zhuniqiabedin
Copy link

zhuniqiabedin commented Jan 2, 2021

I am using the quill-emoji.js in the Angular v11 but I am having some warning messages at the npm start.

Warning: /Users/xxx/Projects/my-project/frontend/src/app/components/modals/header-dialog/header-dialog.component.ts depends on 'quill-emoji/dist/quill-emoji.js'. CommonJS or AMD dependencies can cause optimization bailouts.

This is the import.
import "quill-emoji/dist/quill-emoji.js";

This is the imported module.
import { QuillModule } from "ngx-quill";
QuillModule.forRoot()

This is the package.json
"ngx-quill": "^13.0.1",
"quill": "^1.3.7",
"quill-emoji": "^0.1.8",
"quill-image-resize-module": "^3.0.0",
"quill-mention": "^3.0.0"

It is possible to fix it in the Angular v11 ?

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

1 participant