Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheyenbrock committed Feb 7, 2022
1 parent 47e1548 commit f04b91e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ public/build
.env

dist
index.server.d.ts
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
],
"scripts": {
"build": "yarn build:clean && yarn build:code && yarn build:types",
"build:clean": "rm -rf dist",
"build:clean": "rm -rf dist && rm -f index.server.d.ts",
"build:code": "esbuild src/index.ts --bundle --platform=node --external:graphql --external:graphql-helix --external:remix --outfile=dist/index.js",
"build:types": "tsc",
"build:types": "tsc && echo 'export * from \"./dist\";' > index.server.d.ts",
"format": "prettier --write .",
"prepare": "install-peers && remix setup node"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"exclude": ["dist/**", "examples/**"],
"exclude": ["index.server.d.ts", "dist/**", "examples/**"],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2019"],
"isolatedModules": true,
Expand Down

0 comments on commit f04b91e

Please sign in to comment.