rollup-plugin-handlebars-plus icon indicating copy to clipboard operation
rollup-plugin-handlebars-plus copied to clipboard

rollup: Unresolved dependencies

Open ylc395 opened this issue 2 years ago • 2 comments

https://github.com/mixmaxhq/rollup-plugin-handlebars-plus/blob/44f387ba4c99ac9b464a498b3f2087fcb7941654/src/index.js#L137

What is this line for? It causes my rollup warn like this:

(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
handlebarsPlusHelpersInit (imported by src/path/aaaa/template.hbs)
(!) Missing global variable name
Use output.globals to specify browser global variable names corresponding to external modules
handlebarsPlusHelpersInit (guessing 'init')

and the bundle can not work since we don't get this mysterious init imported.

ylc395 avatar Jul 12 '22 09:07 ylc395

Please fix this.. thanks

muhammadkhan14 avatar Aug 04 '22 03:08 muhammadkhan14

@muhammadkhan14 You can use an older version as workaround.

ylc395 avatar Aug 04 '22 09:08 ylc395