( entry: Record<string, string>, development: boolean, clean: boolean, )
| 18 | }) |
| 19 | |
| 20 | const compiledConfig = ( |
| 21 | entry: Record<string, string>, |
| 22 | development: boolean, |
| 23 | clean: boolean, |
| 24 | ): UserConfig => ({ |
| 25 | ...baseConfig, |
| 26 | entry, |
| 27 | clean, |
| 28 | dts: !development, |
| 29 | env: environment(development), |
| 30 | ...(development |
| 31 | ? {} |
| 32 | : { |
| 33 | minify: { |
| 34 | compress: { |
| 35 | dropConsole: true, |
| 36 | dropDebugger: true, |
| 37 | }, |
| 38 | }, |
| 39 | }), |
| 40 | plugins: [solid()], |
| 41 | }) |
| 42 | |
| 43 | const jsxConfig = ( |
| 44 | entry: Record<string, string>, |
no test coverage detected