refactor: add preview vite
This commit is contained in:
@@ -16,5 +16,9 @@ export default defineConfig({
|
|||||||
ssr: {
|
ssr: {
|
||||||
noExternal: ['path-to-regexp'],
|
noExternal: ['path-to-regexp'],
|
||||||
},
|
},
|
||||||
|
preview: {
|
||||||
|
port: 3000,
|
||||||
|
host: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user