Skip to content

Commit

Permalink
ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
dhedegaard committed Dec 15, 2024
1 parent ea5d7fa commit c771d53
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
File renamed without changes.
7 changes: 0 additions & 7 deletions next.config.js

This file was deleted.

6 changes: 6 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import type { NextConfig } from 'next'

export default {
reactStrictMode: true,
output: 'export',
} satisfies NextConfig
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"homepage": "https://tetris.dhedegaard.dk",
"version": "0.1.0",
"private": true,
"type": "module",
"engines": {
"node": ">=22"
},
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js → postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
Expand Down
7 changes: 4 additions & 3 deletions tailwind.config.js → tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
import type { Config } from 'tailwindcss'

export default {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {},
},
plugins: [],
}
} satisfies Config

0 comments on commit c771d53

Please sign in to comment.