Merge pull request #363 from Andarist/remix/watch-less

Watch less files with Remix
This commit is contained in:
Oleg Isonen authored and GitHub committed 2022-10-31 19:34:33 +01:00
commit e99fa522eb
2 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -18,6 +18,6 @@ module.exports = {
serverBuildPath: "api/index.js",
// publicPath: "/build/",
watchPaths: () => {
return ["../../packages/**/*"];
return ["../../packages/**/lib/**.js"];
},
};
+6 -3
View File
@@ -8,6 +8,7 @@
"typecheck": "tsc --noEmit",
"lint": "eslint ./src --ext .ts,.tsx --max-warnings 0",
"checks": "yarn typecheck && yarn lint",
"dev": "prisma generate --watch && tsup src/index.ts --format esm,cjs --watch --out-dir=lib",
"build": "prisma format && prisma generate && rm -fr lib tsconfig.tsbuildinfo && tsc"
},
"bin": {
@@ -15,10 +16,12 @@
},
"devDependencies": {
"@types/uuid": "^8.3.4",
"prisma": "^4.3.1"
"prisma": "^4.3.1",
"tsup": "^6.1.3",
"typescript": "4.7.4"
},
"main": "src/index.ts",
"types": "src/index.ts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
"private": false,
"dependencies": {