mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-23 21:42:23 -05:00
Bumps [github.com/libregraph/lico](https://github.com/libregraph/lico) from 0.60.1-0.20230811070109-1d4140be554d to 0.61.1. - [Changelog](https://github.com/libregraph/lico/blob/master/CHANGELOG.md) - [Commits](https://github.com/libregraph/lico/commits/v0.61.1) --- updated-dependencies: - dependency-name: github.com/libregraph/lico dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
41 lines
881 B
JavaScript
41 lines
881 B
JavaScript
import { defineConfig, splitVendorChunkPlugin } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import checker from 'vite-plugin-checker';
|
|
|
|
export default defineConfig((env) => {
|
|
return {
|
|
build: {
|
|
outDir: 'build',
|
|
assetsDir: 'static/assets',
|
|
manifest: 'asset-manifest.json',
|
|
sourcemap: true,
|
|
},
|
|
base: './',
|
|
server: {
|
|
port: 3001,
|
|
strictPort: true,
|
|
host: '127.0.0.1',
|
|
hmr: {
|
|
protocol: 'ws',
|
|
host: '127.0.0.1',
|
|
clientPort: 3001,
|
|
},
|
|
},
|
|
plugins: [
|
|
react(),
|
|
env.mode !== 'test' && checker({
|
|
typescript: true,
|
|
eslint: {
|
|
lintCommand: 'eslint --max-warnings=0 src',
|
|
},
|
|
}),
|
|
splitVendorChunkPlugin(),
|
|
],
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
setupFiles: './tests/setup.js',
|
|
},
|
|
};
|
|
});
|