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
If I run project ng serve, everything is OK, plugin works.
If I create a production build and run it, I get this error:
I have imports:
and I tried imports:
import pluginNewsletter from 'grapesjs-preset-newsletter';
import {default as pluginNewsletter} from 'grapesjs-preset-newsletter';
import * as newsletterPlugin from 'grapesjs-preset-newsletter';
file tsconfig.lib.prod.json:
my code is:
or (I tried both plugin import examples)
If I run project
ng serve
, everything is OK, plugin works.If I create a
production build
and run it, I get this error:I have imports:
and I tried imports:
file tsconfig.lib.prod.json:
my code is:
or (I tried both plugin import examples)
dependencies:
How should the import of the plugin look like or where am I making a mistake?
Thx
The text was updated successfully, but these errors were encountered: