-
-
Notifications
You must be signed in to change notification settings - Fork 484
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
I'm getting this error when running yarn build
(vue-tsc && vite build):
yarn run v1.22.17
$ vue-tsc && vite build
js emit is not supported
/Users/nico.meyer/Documents/Projects/chrome-extension/node_modules/vue-tsc/out/proxy.js:110
throw msg;
^
js emit is not supported
(Use `node --trace-uncaught ...` to show where the exception was thrown)
error Command failed with exit code 1.
tsconfig.json
{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["ESNext", "DOM"],
"skipLibCheck": true,
"paths": {
"@/*": [
"./src/*"
],
},
},
"include": ["src/**/*.ts", "src/**/*.js", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", ".eslintrc.cjs"],
"references": [{ "path": "./tsconfig.node.json" }]
}
vite.config.ts
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import { crx } from '@crxjs/vite-plugin';
import path from 'path';
import manifest from './manifest.json';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), crx({ manifest })],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
});
Does anyone know why this is happening?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested