Closed troyanskiy closed 7 years ago
Hi
Since this commit on JUN 20 all templates are inlined by the build process.
This is from the umd
bundle:
I guess you probably rebased or something and it wasn't complete.
@troyanskiy I really don't understand why you insist.
This is a plunker for ngx-modialog version 3.0.3 (after JUN 20): http://embed.plnkr.co/2ppVYl517GI1Byv8vVbG/
As you can see it is working fine (and it's using the UMD bundles)
The image you pasted here shows UMD bundle from the file ngx-modialog.webpack.umd.js
which is is not the UMD bundle being used, the actual UMD used is ngx-modialog.rollup.umd.js
and this is set in the package.json
file.
The webpack UMD bundle is there due to old setup but it's incorrect has a wrong setup and along with not inlining resources it also bundles external packages such as rxjs
(due to improper setup).
Even with proper setup the rollup UMD is better in performance and size.
Use inline template to have it in umd files.