Skip to content

Commit

Permalink
Fixes tailwind config issue causing build failure in node23 (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
amorey authored Oct 28, 2024
1 parent b18d335 commit cfd0bb0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
import kubetailUIPlugin from '@kubetail/ui/plugin';
import fancyAnsiPlugin from 'fancy-ansi/plugin';

/** @type {import('tailwindcss').Config} */
module.exports = {
export default {
content: [
'./src/**/*.{ts,tsx}',
'./node_modules/@kubetail/ui/**/*.js',
],
],
plugins: [
require('@kubetail/ui/plugin'),
require('fancy-ansi/plugin')
kubetailUIPlugin,
fancyAnsiPlugin,
],
theme: {
extend: {
keyframes: {
'flash-bg-green': {
'0%': { backgroundColor: '#bbf7d0' }, // green
'100%': { backgroundColor: 'transparent' }, // transparent
}
},
},
animation: {
'flash-bg-green': 'flash-bg-green 1s ease-in-out',
}
}
}
}
},
},
},
};
3 changes: 2 additions & 1 deletion dashboard-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
]
},
"include": [
"src"
"src",
"tailwind.config.ts"
],
"references": [{ "path": "./tsconfig.node.json" }]
}
2 changes: 1 addition & 1 deletion modules/cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "kubetail",
Version: "0.0.6",
Version: "0.0.7",
Short: "Kubetail - Kubernetes Logging Utility",
}

Expand Down

0 comments on commit cfd0bb0

Please sign in to comment.