Skip to content

Commit

Permalink
just move it all to root dir
Browse files Browse the repository at this point in the history
  • Loading branch information
bozdoz committed Oct 17, 2024
1 parent 045615e commit 30cbf35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ dist
coverage/
.eslintcache
/sw.js
/index.js
.DS_Store
2 changes: 1 addition & 1 deletion build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const { NODE_ENV = "development" } = process.env;
const build = async () => {
await esbuild.build({
entryPoints: ["./src/index.ts", "./src/sw.js"],
outdir: "./dist",
outdir: "./",
bundle: true,
format: "cjs",
define: {
Expand Down
4 changes: 4 additions & 0 deletions now.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"version": 2,
"builds": [
{
"src": "package.json",
"use": "@now/static-build"
},
{
"src": "./index.html",
"use": "@now/static"
Expand Down

0 comments on commit 30cbf35

Please sign in to comment.