Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rollup: Unresolved dependencies #166

Open
ylc395 opened this issue Jul 12, 2022 · 2 comments
Open

rollup: Unresolved dependencies #166

ylc395 opened this issue Jul 12, 2022 · 2 comments

Comments

@ylc395
Copy link

ylc395 commented Jul 12, 2022

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.

@muhammadkhan14
Copy link

Please fix this.. thanks

@ylc395
Copy link
Author

ylc395 commented Aug 4, 2022

@muhammadkhan14 You can use an older version as workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants