Skip to content

Commit

Permalink
Fix build & tailwind regex for grid cols & rows patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
FaXaq committed Nov 12, 2023
1 parent 0855626 commit b204c17
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/projects/mtts/scale-builder/components/PianoKey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import classNames from 'classnames'
import { COLOR, getNoteColor } from '../helpers/getNoteColor'

export default function PianoKey({ scale, note }: PianoKeyComponentProps) {
console.log(scale, note)
return <div className={classNames({
'h-full w-full': true,
'bg-mtts-cta-0': getNoteColor(scale, note) === COLOR.DEFAULT,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"scripts": {
"dev": "next dev -p 1234",
"build": "next build",
"build:production": "NODE_ENV=production next build",
"start": "next start"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
prefix: '',
future: {
Expand All @@ -13,7 +14,7 @@ module.exports = {
plugins: [],
safelist: [
{
pattern: /grid-(cols|rows)-.*/
pattern: /grid-(cols|rows)-\d+/
}
],
theme: {
Expand Down

1 comment on commit b204c17

@vercel
Copy link

@vercel vercel bot commented on b204c17 Nov 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.