mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-23 22:42:16 +00:00
fix: build issue with libparakeet
This commit is contained in:
parent
953f0d524d
commit
5974ef3d0c
1
src/dummy.mjs
Normal file
1
src/dummy.mjs
Normal file
@ -0,0 +1 @@
|
||||
// This is a dummy module for vite/rollup to resolve.
|
@ -23,6 +23,9 @@ const version = `${pkg.version}-${shortCommit}`;
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
worker: {
|
||||
format: 'es',
|
||||
},
|
||||
server: {
|
||||
fs: {
|
||||
// Note:
|
||||
@ -85,6 +88,7 @@ export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': path.resolve(__dirname, 'src'),
|
||||
module: path.resolve(__dirname, 'src', 'dummy.mjs'),
|
||||
},
|
||||
},
|
||||
build: {
|
||||
|
Loading…
Reference in New Issue
Block a user