Error occurs while using <portal> tag with Vite bundler.
Expected Behavior
Actual Behavior
Possible Fix
Simply changing
import targetTemplate from './target'
into:
import targetTemplate from './target.marko' solves this.
Additional Info
### Your Environment
- Environment name and version (e.g. Chrome 39, node.js 5.4):
- Operating System and version (desktop or mobile):
- Link to your project:
### Steps to Reproduce
1. first...
2.
3.
4.
### Stack Trace
@marko-tags/portal@1.2.1
Details
Error occurs while using
<portal>
tag with Vite bundler.Expected Behavior
Actual Behavior
Possible Fix
Simply changing
import targetTemplate from './target'
into:import targetTemplate from './target.marko'
solves this.Additional Info
### Your Environment - Environment name and version (e.g. Chrome 39, node.js 5.4): - Operating System and version (desktop or mobile): - Link to your project: ### Steps to Reproduce 1. first... 2. 3. 4. ### Stack Trace