mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-19 23:52:06 +00:00
fix: asset build opts
This commit is contained in:
parent
28fceab1f4
commit
b41cd95597
2 changed files with 9 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import JASSUB from 'jassub'
|
||||
import workerUrl from 'jassub/dist/jassub-worker.js?url'
|
||||
import 'jassub/dist/jassub-worker.wasm?raw'
|
||||
import 'jassub/dist/jassub-worker.wasm?url'
|
||||
import { toTS, videoRx, subRx } from './util.js'
|
||||
|
||||
import { client } from '@/modules/torrent.js'
|
||||
|
|
|
|||
|
|
@ -21,5 +21,12 @@ export default defineConfig({
|
|||
},
|
||||
plugins: [commonjsExternals({ externals: commonjsPackages }), svelte()],
|
||||
root: path.resolve(process.cwd(), 'src/renderer'),
|
||||
base: './'
|
||||
base: './',
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
assetFileNames: '[name].[ext]'
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue