hugoWebsite/node_modules/tailwindcss/scripts/create-plugin-list.js

11 lines
270 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
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)}`
)