mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-16 06:42:14 +00:00
build fix 2
This commit is contained in:
1 parent
f2cf78514b
commit
777758dc16
2 files changed
+5
-2
No files matched your search
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"path": "../artcraft"
|
||||
},
|
||||
{
|
||||
"path": "../../libs/api"
|
||||
},
|
||||
{
|
||||
"path": "./tsconfig.app.json"
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import { nxViteTsPaths } from "@nx/vite/plugins/nx-tsconfig-paths.plugin";
|
||||
|
||||
export default defineConfig(() => ({
|
||||
root: __dirname,
|
||||
@@ -15,7 +15,7 @@ export default defineConfig(() => ({
|
||||
port: 4300,
|
||||
host: "localhost",
|
||||
},
|
||||
plugins: [react(), tailwindcss(), tsconfigPaths()],
|
||||
plugins: [react(), tailwindcss(), nxViteTsPaths()],
|
||||
// Uncomment this if you are using workers.
|
||||
// worker: {
|
||||
// plugins: [ nxViteTsPaths() ],
|
||||
|
||||
Reference in new issue
Block a user