mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-24 00: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/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
worker: {
|
||||||
|
format: 'es',
|
||||||
|
},
|
||||||
server: {
|
server: {
|
||||||
fs: {
|
fs: {
|
||||||
// Note:
|
// Note:
|
||||||
@ -85,6 +88,7 @@ export default defineConfig({
|
|||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'~': path.resolve(__dirname, 'src'),
|
'~': path.resolve(__dirname, 'src'),
|
||||||
|
module: path.resolve(__dirname, 'src', 'dummy.mjs'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
Loading…
Reference in New Issue
Block a user