graphql-engine/frontend/apps/console-ce/tailwind.config.js
Nicolas Beaussart 391d8570a1 platform: rework css import to prepare the nx migration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6272
GitOrigin-RevId: 43d52508dac9687184f6702d312a21232051503e
2022-10-12 12:47:51 +00:00

18 lines
457 B
JavaScript

const { createGlobPatternsForDependencies } = require('@nrwl/react/tailwind');
const { join } = require('path');
const tailwindConfig = require('../../tailwind.config.js');
module.exports = {
content: [
join(
__dirname,
'{src,pages,components}/**/*!(*.stories|*.spec).{ts,tsx,html}'
),
...createGlobPatternsForDependencies(
__dirname,
'/**/!(*.stories|*.spec).{ts,tsx,jsx,js,html}'
),
],
...tailwindConfig,
};