Files
speckle-server/packages/ui-components/utils/tailwind-configure.cjs
T

14 lines
401 B
JavaScript

const { resolve } = require('path')
/**
* Use this to generate an entry for the Tailwind 'content' config key that will ensure
* this library is scanned to prevent unnecessary purging
* @returns {string[]}
*/
function tailwindContentEntries() {
const currentLocation = __dirname
return [resolve(currentLocation, '../dist', '**/*.{js,cjs,mjs}')]
}
module.exports = { tailwindContentEntries }