You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
Build index.js into the dist folder. Run the bundled index.bundle.js file in a node folder with an App.vue file in the root.
What is expected?
To import the App.vue file without error
What is actually happening?
Error is thrown: "SyntaxError: Unexpected token '<'". It specifically points to the "<" in the opening <template> tag. In short, a bundled script I'm running doesn't import from the directory where the script was invoked.
The App.vue is pulling from the CWD which may have an issue, but it still runs through rollup with this plugin. Woth noting this is for a CLI but that shouldn't make a difference.
The text was updated successfully, but these errors were encountered:
Version
5.0.0
Reproduction link
https://codesandbox.io/s/stupefied-shirley-39f24
Steps to reproduce
Build index.js into the dist folder. Run the bundled index.bundle.js file in a node folder with an App.vue file in the root.
What is expected?
To import the App.vue file without error
What is actually happening?
Error is thrown: "SyntaxError: Unexpected token '<'". It specifically points to the "<" in the opening
<template>
tag. In short, a bundled script I'm running doesn't import from the directory where the script was invoked.The App.vue is pulling from the CWD which may have an issue, but it still runs through rollup with this plugin. Woth noting this is for a CLI but that shouldn't make a difference.
The text was updated successfully, but these errors were encountered: