🔧 Reference static assests from /
This commit is contained in:
1 parent
53ef262ba4
commit
faca98b7f9
1 file changed
-1
@@ -4,7 +4,6 @@ import svgr from "vite-plugin-svgr";
|
|||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
base: process.env.NODE_ENV !== "production" ? "/" : "/static/modern/",
|
|
||||||
plugins: [svgr()],
|
plugins: [svgr()],
|
||||||
define: {
|
define: {
|
||||||
__DEV__: process.env.NODE_ENV !== "production",
|
__DEV__: process.env.NODE_ENV !== "production",
|
||||||
|
|||||||
Reference in new issue
Block a user