This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
There will be an error when enable sourcemap in vue3 app #19
Comments
webpack.config.js:
index.ts: import { createApp } from "vue";
import App from "./app.vue";
createApp(App).mount("#app"); app.vue: <template>
<div>app</div>
</template>
<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
setup() {
return {}
}
});
</script> package.json:
then run |
sourceMaps: true
will cause an error
if i change |
We use vue 2 with |
Having this problem too in a react app. use |
The latest |
@FuJuntao I've tried "@swc/core": "1.2.103",
"@swc/helpers": "0.2.13",
"swc-loader": "0.1.15", devtool: 'cheap-module-source-map', |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: