Skip to content

rollup: Unresolved dependencies #166

@ylc395

Description

@ylc395

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions