Closed umairabid closed 1 year ago
The plugins works fine locally when it is built with no optimisations in angular i.e. through following command
ng build --configuration staging --buildOptimizer=false --optimization=false
However when I attempt to build my project with simple ng build --configuration, it breaks at https://github.com/artf/grapesjs-preset-newsletter/blob/master/src/commands.js#L10 giving exception that r is not function r being tglImagesCommand
ng build --configuration
r is not function
tglImagesCommand
Has anybody experienced this with angular?
Why was this https://github.com/artf/grapesjs-preset-newsletter/blame/master/src/toggleImagesCommand.js#L1 changed to export from define
export
define
The plugins works fine locally when it is built with no optimisations in angular i.e. through following command
ng build --configuration staging --buildOptimizer=false --optimization=false
However when I attempt to build my project with simple
ng build --configuration
, it breaks at https://github.com/artf/grapesjs-preset-newsletter/blob/master/src/commands.js#L10 giving exception thatr is not function
r beingtglImagesCommand
Has anybody experienced this with angular?