mirror of
https://github.com/dergigi/boris.git
synced 2026-02-01 05:04:29 +01:00
config: add explicit module resolution for Vercel
- Add resolve.extensions to help with .js module resolution - Include applesauce packages in optimizeDeps for better bundling - Attempt to fix Vercel build issue with async-event-store.js
This commit is contained in:
@@ -5,6 +5,12 @@ export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
port: 9802
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.js', '.ts', '.tsx', '.json']
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: ['applesauce-core', 'applesauce-factory', 'applesauce-relay', 'applesauce-react']
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user