Skip to content

Commit 2372267

Browse files
committed
convert export default object to named exports
Note: Normally I would use export function ..., but since we also have some export let xx = createUtilityPlugin in this file, it means that all the `export function` declarations would be hoisted and therefore won't have the correct order anymore. To fix this, I used `export let xx = () => {}` instead of the usual `export function xx() {}`
1 parent 242eec6 commit 2372267

File tree

3 files changed

+2435
-2413
lines changed

3 files changed

+2435
-2413
lines changed

scripts/create-plugin-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import corePlugins from '../src/corePlugins'
1+
import * as corePlugins from '../src/corePlugins'
22
import fs from 'fs'
33
import path from 'path'
44

0 commit comments

Comments
 (0)