Skip to content

Commit 457f216

Browse files
authored
Improve project structure - auto build tailwindcss css and js in build stage (NextCommunity#401)
* Improve project structure * fix pre-commit * Checking pre-commit
1 parent 4a5829d commit 457f216

17 files changed

+3741
-380
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@ _site
33
node_modules
44
vendor
55
.venv
6+
7+
# Generated CSS (compiled from TailwindCSS)
8+
src/assets/css/tailwind.css
9+
10+
# Generated JS (bundled by esbuild)
11+
src/assets/js/phaser.bundle.js
12+
src/assets/js/bundle.js

biome.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.14/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
33
"files": {
4-
"includes": ["**/*.json", "**/*.njk", "**/*.yaml", "**/*.yml", "src/assets/js/**/*.js"]
4+
"includes": [
5+
"**/*.json",
6+
"**/*.njk",
7+
"**/*.yaml",
8+
"**/*.yml",
9+
"src/assets/js/**/*.js"
10+
]
511
},
612
"linter": {
713
"enabled": true,

0 commit comments

Comments
 (0)