Browse Source
Merge pull request #583 from danditomaso/fix-remove-assets-output-dir
fix: keep js and css assets in same output directory
pull/591/head
Dan Ditomaso
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
0 deletions
-
vite.config.ts
|
|
|
@ -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'), |
|
|
|
|