We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f143ab7 commit 9d6a2e6Copy full SHA for 9d6a2e6
frontend/vue/vite.config.ts
@@ -9,7 +9,10 @@ export default defineConfig({
9
plugins: [vue(), vueJsx()],
10
resolve: {
11
alias: {
12
- '@': fileURLToPath(new URL('./src', import.meta.url)),
+ // WORKAROUND: Use process.cwd() instead of import.meta.url to avoid sandbox escape
13
+ // See https://github.com/bazelbuild/examples/issues/614
14
+ // @ts-ignore - We know process exists at runtime
15
+ '@': process.cwd() + '/src',
16
},
17
dedupe: ['vue'],
18
0 commit comments