Skip to content

Commit

Permalink
Switch module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
kdevcse committed Apr 18, 2023
1 parent b895b19 commit 3a1bfc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "nodenext",
"moduleResolution": "node",
"target": "ESNext",
"outDir": "../../dist",
"strict": true,
Expand Down
3 changes: 3 additions & 0 deletions vite.renderer.config.mts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";

// Type Error on 'vue' could be related to: https://github.com/vitejs/vite/issues/10481
// Switched to 'node' module resolution as a result

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
Expand Down

0 comments on commit 3a1bfc6

Please sign in to comment.