mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 18:35:07 +03:00
* new packages * new transforms * Update package.json * new internal files * Update cleanse-css-for-tailwind.js * updated css files * remove old code * update tokens * Delete global.css * update themes * Update tailwind-theming.md * Update tailwind-theming.md * Update tailwind-theming.md * Update tailwind-theming.md * Update tailwind-theming.md * Update tailwind-theming.md --------- Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
17 lines
476 B
JavaScript
17 lines
476 B
JavaScript
const fs = require('fs-extra')
|
|
|
|
module.exports = {
|
|
do: function (dictionary, config) {
|
|
config.options.copyFilesAction.forEach(({ destination, origin }) => {
|
|
console.log(`Copying ${origin} to ${destination}`)
|
|
fs.copySync(origin, destination)
|
|
})
|
|
},
|
|
undo: function (dictionary, config) {
|
|
config.options.copyFilesAction.forEach(({ destination, origin }) => {
|
|
console.log(`Cleaning ${destination}`)
|
|
fs.removeSync(destination)
|
|
})
|
|
}
|
|
}
|