Closed mshopf closed 3 years ago
Hello, thank you for taking time filling this issue!
However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).
I hope to see your helper-created issue very soon!
Continued in the forum: https://forum.vuejs.org/t/rollup-plugin-vue-w-vue-3-vue-runtime-dom-is-not-resolved/118524
USE https://new-issue.vuejs.org/?repo=vuejs/rollup-plugin-vue Trying to build a Vue 3 app w/ TypeScript, bundled as ES modules. Client app and server included in the same project (but different dirs), nuked from the example below. Using vue.runtime.esm-bundler.js, after
rollup -c rollup.config.js
the resulting bundle.esm.js still imports from @vue/runtime-dom, which of course doesn't work (and if it is for import requiring the path to start with './' or '/'):import { initCustomFormatter, defineComponent, ref, pushScopeId, popScopeId, openBlock, createBlock, Fragment, createVNode, toDisplayString, withScopeId, createApp } from '@vue/runtime-dom';
So what am I missing?
Versions from package.json:
rollup.config.js: commented lines are required for 2.