Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Kick bundler - use esbuild for building #2753

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3,940 changes: 2,003 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 --target=es5",
"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 --format=iife --global-name=m --target=es5 --minify",
"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.