fix: build issue with libparakeet
This commit is contained in:
parent
c4dbaa4b73
commit
a9e5c16949
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