We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5dd742 commit a65903eCopy full SHA for a65903e
1 file changed
packages/start-plugin-core/src/utils.ts
@@ -7,9 +7,9 @@ import * as vite from 'vite'
7
export const isRolldown = 'rolldownVersion' in vite
8
9
/** Returns `'rolldownOptions'` when using Rolldown, `'rollupOptions'` otherwise. */
10
-export const bundlerOptionsKey = (
11
- isRolldown ? 'rolldownOptions' : 'rollupOptions'
12
-)
+export const bundlerOptionsKey = isRolldown
+ ? 'rolldownOptions'
+ : 'rollupOptions'
13
14
/** Read `build.rollupOptions` or `build.rolldownOptions` from a build config. */
15
export function getBundlerOptions(build: any): any {
0 commit comments