Frontend CD / build (push) Failing after 57s
## What - Added button to start a sale from the router stop list - Replaced the dropdown input in the Manage POS modal in the Routes page by an input text search. ## Why - Improvements to make the user's life easier. ## Mood <img width="200" src="https://media2.giphy.com/media/ui1hpJSyBDWlG/giphy.gif?cid=36b14facxaosmt8cmpptl1gkbb6j2zzupsb9r2icd7va79ml&ep=v1_gifs_search&rid=giphy.gif&ct=g" /> Reviewed-on: #9
43 lines
1.1 KiB
TypeScript
43 lines
1.1 KiB
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import { VitePWA } from 'vite-plugin-pwa'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
VitePWA({
|
|
registerType: 'autoUpdate',
|
|
includeAssets: ['assets/*.png', 'assets/*.ico', 'assets/*.xml'],
|
|
manifest: {
|
|
name: 'Polpa Go',
|
|
short_name: 'Polpa Go',
|
|
description: 'Manage point of sales, products, routes and sales.',
|
|
theme_color: '#0f172a',
|
|
background_color: '#0f172a',
|
|
display: 'standalone',
|
|
icons: [
|
|
{
|
|
src: 'apple-icon-180x180.png',
|
|
sizes: '180x180',
|
|
type: 'image/png',
|
|
purpose: 'any'
|
|
},
|
|
{
|
|
src: 'android-icon-192x192.png',
|
|
sizes: '192x192',
|
|
type: 'image/png',
|
|
purpose: 'any maskable'
|
|
},
|
|
{
|
|
src: 'polpa-logo.png',
|
|
sizes: '512x512',
|
|
type: 'image/png',
|
|
purpose: 'any maskable'
|
|
}
|
|
]
|
|
}
|
|
})
|
|
],
|
|
})
|