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