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 02475fa commit 1cde6f6Copy full SHA for 1cde6f6
1 file changed
src/types/config.ts
@@ -1,4 +1,4 @@
1
-import type { RollupCommonJSOptions } from "@rollup/plugin-commonjs";
+import type commonjs from "@rollup/plugin-commonjs";
2
import type {
3
C12InputConfig,
4
ConfigWatcher,
@@ -38,6 +38,10 @@ import type { OXCOptions } from "./rollup.ts";
38
import type { RollupConfig } from "./rollup.ts";
39
import type { NitroRouteConfig, NitroRouteRules } from "./route-rules.ts";
40
41
+type RollupCommonJSOptions = NonNullable<
42
+ Parameters<typeof commonjs.default>[0]
43
+>;
44
+
45
/**
46
* Nitro normalized options (nitro.options)
47
*/
0 commit comments