Skip to content

Commit

Permalink
Use esbuild instead of snowpack
Browse files Browse the repository at this point in the history
  • Loading branch information
amarzot-lowell-instruments committed Jun 29, 2024
1 parent a42d3b1 commit c7f862f
Show file tree
Hide file tree
Showing 6 changed files with 8,914 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
lib
assets/css
build
/build

# Created by https://www.toptal.com/developers/gitignore/api/node
# Edit at https://www.toptal.com/developers/gitignore?templates=node
Expand Down
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
npm x tsc -- -p tsconfig.node.json
npm x tsc -- -p tsconfig.browser.json
npm x esbuild -- src/client/wetty.ts --bundle --platform=browser --sourcemap --minify --outdir=build/client $@
npm x sass -- src/assets/scss:build/assets/css --load-path=node_modules -s compressed --no-source-map
cp -r src/assets/xterm_config src/assets/favicon.ico build/assets
Loading

0 comments on commit c7f862f

Please sign in to comment.