fix the darn two tailwind issue to get engines and apps styles

This commit is contained in:
2022-12-09 00:55:01 +02:00
parent b48247c103
commit a99b33d236
2 changed files with 6 additions and 3 deletions

View File

@ -1,12 +1,16 @@
const defaultTheme = require('tailwindcss/defaultTheme')
const execSync = require('child_process').execSync;
const output = execSync('bundle show merged', { encoding: 'utf-8' });
const fullname = output.trim() + '/app/**/*.{haml,html,rb}'
module.exports = {
content: [
'./public/*.html',
'./app/helpers/**/*.rb',
'./app/javascript/**/*.js',
'./app/views/**/*.{erb,haml,html,slim}' ,
'../app/views/**/*.{erb,haml,html,slim}' ,
fullname
],
theme: {
extend: {