Skip to content

Commit

Permalink
Kick bundler - use esbuild for building
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanHoyer committed Feb 23, 2022
1 parent a8e25b7 commit df6c2de
Show file tree
Hide file tree
Showing 8 changed files with 2,464 additions and 2,511 deletions.
3,938 changes: 2,001 additions & 1,937 deletions mithril.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mithril.min.js

Large diffs are not rendered by default.

459 changes: 459 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"watch:docs": "node scripts/generate-docs --watch",
"watch:docs-lint": "node scripts/lint-docs --watch",
"build": "run-p build:browser build:min build:stream-min",
"build:browser": "node scripts/bundler browser.js -output mithril.js",
"build:browser": "esbuild --bundle browser.js --outfile=mithril.js --format=iife --global-name=m",
"build:docs": "node scripts/generate-docs",
"build:min": "node scripts/bundler browser.js -output mithril.min.js -minify -save",
"build:min": "esbuild --bundle browser.js --outfile=mithril.min.js --minify --format=iife --global-name=m",
"build:stream-min": "node scripts/minify-stream",
"cleanup:lint": "rimraf .eslintcache .lint-docs-cache",
"lint": "run-s -cn lint:**",
Expand All @@ -34,6 +34,7 @@
"@babel/parser": "^7.7.5",
"benchmark": "^2.1.4",
"chokidar": "^3.2.1",
"esbuild": "^0.14.23",
"escape-string-regexp": "^2.0.0",
"eslint": "^8.9.0",
"gh-pages": "^2.1.1",
Expand Down
183 changes: 0 additions & 183 deletions scripts/_bundler-impl.js

This file was deleted.

22 changes: 0 additions & 22 deletions scripts/bundler-readme.md

This file was deleted.

70 changes: 0 additions & 70 deletions scripts/bundler.js

This file was deleted.

Loading

0 comments on commit df6c2de

Please sign in to comment.