onesignal-cordova-plugin
Version:
OneSignal is a high volume Push Notification service for mobile apps. In addition to basic notification delivery, OneSignal also provides tools to localize, target, schedule, and automate notifications that you send.
25 lines (23 loc) • 459 B
text/typescript
import legacy from '@vitejs/plugin-legacy'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
legacy()
],
optimizeDeps: {
include: ['dist'],
},
build: {
commonjsOptions: {
include: [/dist/, /node_modules/],
},
},
test: {
globals: true,
environment: 'jsdom',
setupFiles: './src/setupTests.ts',
}
})