File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,14 @@ export interface ExperimentalOptions {
327
327
* @default false
328
328
*/
329
329
skipSsrTransform ?: boolean
330
+
331
+ /**
332
+ * Enable builtin plugin that writeen by rust, which is faster than js plugin.
333
+ *
334
+ * @experimental
335
+ * @default true
336
+ */
337
+ enableNativePlugin : boolean
330
338
}
331
339
332
340
export interface LegacyOptions {
@@ -828,6 +836,7 @@ export async function resolveConfig(
828
836
experimental : {
829
837
importGlobRestoreExtension : false ,
830
838
hmrPartialAccept : false ,
839
+ enableNativePlugin : true ,
831
840
...config . experimental ,
832
841
} ,
833
842
getSortedPlugins : undefined ! ,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export { buildErrorMessage } from './server/middlewares/error'
18
18
export { fetchModule } from './ssr/fetchModule'
19
19
export type { FetchModuleOptions } from './ssr/fetchModule'
20
20
export * from './publicUtils'
21
+ // import {globImportPlugin} from 'rolldown/experimental'
21
22
22
23
// additional types
23
24
export type {
You can’t perform that action at this time.
0 commit comments