vite-plugin-ruby/src/index.ts
Function config
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function config (userConfig: UserConfig, env: ConfigEnv): UserConfig {
const config = loadConfiguration(env.mode, projectRoot, userConfig)
const { assetsDir, base, outDir, server, root, entrypoints, ssrBuild } = config
const isLocal = config.mode === 'development' || config.mode === 'test'