Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Built files generate vue-runtime-helpers not found errors #257

Closed
@Lunrtick

Description

@Lunrtick

For illustration purposes, create a fresh lib scaffold using this project https://github.com/team-innovation/vue-sfc-rollup.

I have run into the same issues while building my own multi-component package.

Expected behavior

No errors on lib build, or upon import and usage of the built files

Actual behavior

Errors generated during build

(!) Unresolved dependencies
https://rollupjs.org/guide/en#warning-treating-module-as-external-dependency
vue-runtime-helpers/normalize-component.js (imported by src/lib-components/bulma-accordion-sample.vue)
vue-runtime-helpers/inject-style/browser.js (imported by src/lib-components/bulma-accordion-sample.vue)
(!) Missing global variable names
Use output.globals to specify browser global variable names corresponding to external modules
vue-runtime-helpers/normalize-component.js (guessing '__vue_normalize__')
vue-runtime-helpers/inject-style/browser.js (guessing '__vue_create_injector__')
created dist/bulma-accordion.umd.js in 98ms

and upon importing the built files, errors like this...

These dependencies were not found:

* vue-runtime-helpers/inject-style/browser.js in ./node_modules/vue-bulma-accordion/dist/vue-bulma-accordion.mjs
* vue-runtime-helpers/normalize-component.js in ./node_modules/vue-bulma-accordion/dist/vue-bulma-accordion.mjs

Let me know if you need any extra info.

Thanks
Gabriel

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