Skip to content

Commit

Permalink
fix: playwright tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
puria committed Nov 14, 2023
1 parent ffac4f7 commit b03ce2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"esbuild": "^0.18.4"
},
"scripts": {
"build": "pnpm exec esbuild --bundle src/index.ts --outfile=build/slangroom.js --target=es2016 --external:fs --external:path --external:crypto"
"build": "pnpm exec esbuild --bundle src/index.ts --outfile=build/slangroom.js --target=es2016 --external:fs --external:path --external:crypto && cp build/slangroom.js public/"
}
}
2 changes: 1 addition & 1 deletion pkg/browser/public/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<script src="./slangroom.js"></script>
<script src="slangroom.js"></script>
</head>
<body>
<h1>Test http</h1>
Expand Down

0 comments on commit b03ce2a

Please sign in to comment.