|
body += `import init from '${INTERNAL_INIT_ID}';\n`; |
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.
rollup-plugin-handlebars-plus/src/index.js
Line 137 in 44f387b
What is this line for? It causes my rollup warn like this:
and the bundle can not work since we don't get this mysterious
initimported.