Skip to content

Commit

Permalink
chore: esbuild will not support ES5
Browse files Browse the repository at this point in the history
evanw/esbuild#297 (comment)

Signed-off-by: Sebastian Davids <sdavids@gmx.de>
  • Loading branch information
sdavids committed Aug 30, 2023
1 parent 5fdc178 commit 863e84d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ Sebastian Davids <sdavids@gmx.de>
remove @rvxlab/tailwind-plugin-ios-full-height from package.json & tailwind.config.cjs
+
remove min-h-screen-ios in *.html

* esbuild does not support ES5-target yet
+
https://github.com/evanw/esbuild/issues/297
1 change: 0 additions & 1 deletion hp/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ rm -rf dist
cp -rp src dist

npx esbuild src/j/app.js --bundle --splitting --outdir=dist/j --format=esm --target=es2017 --minify --legal-comments=none
# npx esbuild src/j/app.js --bundle --outfile=dist/j/app.es5.js --format=iife --target=es5 --minify --legal-comments=none

npx esbuild --bundle dist/s/app.css --outfile=dist/s/app.css --allow-overwrite --minify --legal-comments=none

Expand Down
1 change: 0 additions & 1 deletion hp/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,5 @@
</div>
</footer>
<script type="module" src="j/app.js"></script>
<!-- <script nomodule src="j/app.es5.js"></script>-->
</body>
</html>

0 comments on commit 863e84d

Please sign in to comment.