File size: 270 Bytes
bc20498
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import { corePlugins } from '../src/corePlugins'
import fs from 'fs'
import path from 'path'

let corePluginList = Object.keys(corePlugins)

fs.writeFileSync(
  path.join(process.cwd(), 'src', 'corePluginList.js'),
  `export default ${JSON.stringify(corePluginList)}`
)