fix: dont put js and css assets in sub-directory in output
This commit is contained in:
1 parent
01f242b7c3
commit
c5fe2f5e68
1 file changed
+4
@@ -32,6 +32,10 @@ export default defineConfig({
|
||||
define: {
|
||||
'import.meta.env.VITE_COMMIT_HASH': JSON.stringify(hash),
|
||||
},
|
||||
build: {
|
||||
emptyOutDir: true,
|
||||
assetsDir: './',
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@app': path.resolve(process.cwd(), './src'),
|
||||
|
||||
Reference in new issue
Block a user