import { hasTextFile } from 'commonality-checks-recommended'; export default hasTextFile('vite.config.js', [ "import { defineConfig } from 'vite';", '', 'export default defineConfig({', ' server: {', ' port: 3000,', ' },', ' build: {', " outDir: 'dist',", ' },', ' resolve: {', ' alias: {', " '@': '/src',", ' },', ' },', '})', ]);
{ "checks": [ "application": [ "has-vite-config" ] ] }
Was this page helpful?