www_hero/node_modules/tailwindcss/scripts/create-plugin-list.js
sasha-astiadi 324d5960af hero_web
2024-05-03 06:39:20 +02:00

11 lines
270 B
JavaScript

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)}`
)