fix(frontend): get start command working
This commit is contained in:
@@ -227,6 +227,8 @@ const config = async (env: Record<string, unknown>): Promise<Configuration> => {
|
||||
|
||||
stats: 'minimal',
|
||||
|
||||
target: 'web',
|
||||
|
||||
watchOptions: {
|
||||
ignored: ['**/node_modules', '**/dist', '**/.yarn'],
|
||||
},
|
||||
|
||||
@@ -23,6 +23,13 @@ export default defineConfig(({ command }) => ({
|
||||
assetsDir: 'public/build',
|
||||
minify: shouldMinify,
|
||||
},
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
silenceDeprecations: ['import', 'global-builtin', 'legacy-js-api'],
|
||||
},
|
||||
},
|
||||
},
|
||||
server: {
|
||||
// vite binds to ipv6 by default... and that doesn't work for me locally on mac...
|
||||
host: '0.0.0.0',
|
||||
|
||||
Reference in New Issue
Block a user