798 Commits

Author SHA1 Message Date
Andre Wiggins
bf19e48f0d Format debug build using prettier 2025-10-23 18:35:02 -07:00
Andre Wiggins
1e852df2c7 Define shouldCompress var to make compress determination once 2025-10-23 18:29:37 -07:00
Andre Wiggins
00872218d6 Add debug output format 2025-10-23 18:29:37 -07:00
Andre Wiggins
e5ef7ebf54 Add CLAUDE.md 2025-10-23 18:29:37 -07:00
Andre Wiggins
9f56e06b0d
Format repo (#1096)
Ran `npm run format` to fix up some formatting issues in the repo
2025-10-23 18:08:29 -07:00
Ryan Christian
00016d892b
ci: Bump CI actions (#1082)
* ci: Bump CI versions

* ci: Limit compressed-size to microbundle itself

* ci: Limit push CI to master

* test: Drop output messages from tests, not reliable enough nor completely necessary

* ci: Revert removal of test reporter

* ci: Downgrade Node versions

* revert: Try reverting this whilst we're at it

* ci: Bump release workflow
2025-10-23 20:01:00 -05:00
Ryan Christian
aae1611ef4
fix: Incorrect UMD sourcemaps (#1043) 2025-02-04 14:20:33 -06:00
Luke Edwards
4b11285f27
chore: add licenses badge (#1074)
this service recursively checks/lists all licenses within a package's dependency graph. I remember there being a fair number of pieces involved here so was happy to see that all 400+ licenses involved are green!
2024-01-23 23:23:07 -06:00
Jude Agboola
4724a77991
remove brazillian-utils from readme (#1062) 2023-12-05 10:49:01 -06:00
Philipp Daun
3aca5a0a8f
Add swup to example projects (#1061) 2023-09-18 12:22:19 -05:00
Oskar Legner
b8755477f8
Fix typo in comment (#1056) 2023-08-24 03:31:15 -05:00
Diego Tonini
ef8376ee90
chore: add eta js to readme (#1051) 2023-06-29 17:19:18 -05:00
Don McCurdy
105a09b9aa
Add glTF Transform to "Built with Microbundle" list (#1040) 2023-04-26 17:28:40 -05:00
Ryan Christian
bb8713c747
chore: Silence Rollup's this is undefined warnings (#991)
* chore: Silence Rollup's `this is undefined` warning

* docs: Adding changeset
2023-02-23 11:32:18 -06:00
Marvin Hagemeister
22187fba8a
Fix mangle.json indentation style not preserved (#999) 2022-09-18 02:27:43 -05:00
Franco Arza
124c9c607c
Update README.md (#993) 2022-08-25 18:20:17 -05:00
Jeff Posnick
60b5edcf5d
Add example of exports.types field (#992)
* Add example of exports.types field

* Update README.md

Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>
2022-08-23 16:00:40 -05:00
Preact Bot
c76c41f831
Version Packages (#958)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v0.15.1
2022-08-12 17:04:22 -05:00
Ryan Christian
e72377a001
fix: mains by format fallbacks (#964) 2022-08-11 12:34:30 -05:00
Jovi De Croock
fd4ea1a544
Cleanup repository (#976)
* remove bors, appveyor and replace sizereport with our own

* remove install from size

* Update .github/workflows/nodejs.yml

Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>

Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>
2022-07-19 16:47:02 -05:00
PeterBurner
88241ddf8f
fix: Incorrect transform with async/await (#565) (#968)
* fix: Incorrect transform with async/await (#565)

* Update babel-plugin-transform-async-to-promises to v0.8.18

* Add changeset

* Update jest test snapshots

Co-authored-by: Björn Saja <bjoern@codeatelier.com>
2022-06-04 02:33:48 -05:00
赵一荣
cebafa1219
fix: css compilation problems when multiple entries (#961)
* fix: css compilation problems when multiple entries

* change minor to patch

* refactor: options.output change to absMain

* Apply suggestions from code review

Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>
2022-06-04 02:32:49 -05:00
Anton Gilgur
4ad4b768f0
deps: upgrade rpt2 to latest v0.32.0 to fix monorepos (#967)
* deps: upgrade rpt2 to latest v0.32.0 to fix monorepos

- rpt2 v0.30.0 supports compiling files outside of the project directory
  with no additional configuration (e.g. of `rootDir`) as it upgraded
  its dep of `@rollup/pluginutils` to v4, which has a breaking change
  affecting `createFilter`
  - essentially, the change to `@rollup/pluginutils` allows transforming
    files outside of the project dir

- rpt2 v0.32.0 supports symlinks, such as with monorepos built w/ pnpm

- previously, microbundle was using rpt2 v0.29.0, which is about ~1.5
  years out-of-date

* add changeset
2022-06-02 16:09:18 -05:00
Nick Babcock
555088d17c
Remove mention of UMD support for web workers (#962)
* Remove mention of UMD support for web workers

OMT only supports amd or esm as output, so the readme should not
mention umd as supported.

When executing microbundle with umd format and `--workers`, the web
worker will fail to be detected or bundled.

* Update README.md

Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>
2022-05-18 19:22:34 -05:00
Ryan Christian
9a4e2b2096
chore: Bump Node target version to v12 (#954)
* chore: Bumps Node target to v12

* docs: Adding changeset
2022-05-04 19:41:08 -04:00
Ryan Christian
6018e586b9
chore: Silence warnings when using 'node:' protocol (#956)
* chore: Silence warnings when using builtins w/ 'node:' protocol

* docs: Adding changeset
2022-05-04 19:40:41 -04:00
DaviDevMod
d16a322db7
Fix typo in readme (#957) 2022-05-04 19:40:15 -04:00
Mohammed Anas
6c59174aad
Remove git.io usages (#952)
See https://github.blog/changelog/2022-04-25-git-io-deprecation/.
2022-04-28 13:48:21 -04:00
Preact Bot
84c0a89dd5
Version Packages (#927)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v0.15.0
2022-04-26 15:24:41 -05:00
Ryan Christian
8e2de0719f
fix: Test failures following merge (#951) 2022-04-25 14:33:25 -05:00
Ryan Christian
6f6e080f3b
refactor: Output ESM files w/ .mjs when appropriate (#950)
* fix: Output ESM w/ .mjs ext when pkg type is cjs

* docs: Adding changeset

* Update README.md

* Update README.md

Co-authored-by: Jason Miller <developit@users.noreply.github.com>

* chore: Add warning for new ESM output extension behavior

* Update src/index.js

Co-authored-by: Jason Miller <developit@users.noreply.github.com>

Co-authored-by: Jason Miller <developit@users.noreply.github.com>
2022-04-25 14:17:55 -05:00
Ryan Christian
242754f43c
feature: bundle visualizer (#949)
* feat: Add --visualizer flag to generate build output stats

Co-authored-by: Alex Hayton <alex.hayton@gmail.com>

* docs: Adding changeset

* chore: Removing & git ignoring stats.html

Co-authored-by: Alex Hayton <alex.hayton@gmail.com>
2022-04-25 14:16:17 -05:00
Ryan Christian
ecb0b02291
fix: babel exclude for hoisted modules (#947)
* fix: Ensures hoisted node_modules are excluded by babel

* docs: Adding changeset
2022-04-21 09:47:34 -04:00
Ryan Christian
8223ebaee8
fix: build message formatting (#948)
* fix: Build output message formatting w/ dynamic import module

* docs: Adding changeset
2022-04-21 09:46:29 -04:00
Ryan Christian
1d0e305d89
fix: tsconfig cwd differing from microbundle's cwd (#941)
* fix: 'tsconfig.json' search should start in the set cwd

* docs: Adding changeset
2022-04-20 15:15:11 -05:00
Ryan Christian
c4532cc9cc
docs: compress flag (#940)
* docs: Add info on --compress default value

* docs: Update CLI help menu --compress info

* docs: Adding changeset
2022-04-20 15:14:58 -05:00
MYCOIN
b51b855794
feat: [auto-commit] fix: _sizeInfo npe (#935)
* feat: [auto-commit] fix: _sizeInfo npe

* docs: Adding changeset

Co-authored-by: Ryan Christian <ryanchristian4427@gmail.com>
2022-04-07 17:52:26 -05:00
Ryan Christian
fb0a43780a
chore: Adding flag & docs for jsxFragment (#930) 2022-03-03 18:09:14 +01:00
Ryan Christian
392d63ef43
fix: Corrects CSS output being overwritten when .cjs ext used (#919) 2022-03-03 18:04:30 +01:00
Jason Miller
f04c85a188
Fix mangle.json being overwritten with [object Object] (#926)
* Fix mangle.json being overwritten with [object Object]

Regression from #882.

* Create gorgeous-singers-invite.md
2022-01-20 15:59:17 -05:00
Preact Bot
778ca3ce3e
Version Packages (#911)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v0.14.2
2021-11-18 01:20:28 +01:00
Aral Roca Gomez
75525a31dd
Add Teaful as "Built with Microbundle" in README (#910) 2021-11-17 18:39:55 +01:00
Ryan Christian
dd0bdde9c6
fix: Ensuring CLI & docs match up with each other (#904) 2021-11-17 18:38:19 +01:00
Jason Miller
afa74ca46b
[docs] Fix incorrect package exports recommendation (#903)
Fixes #902.
2021-10-21 11:06:48 -05:00
Preact Bot
c04bd48cd2
Version Packages (#900)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v0.14.1
2021-10-14 17:52:07 +02:00
Mihir Kumar
2a0ca8843f
feat: Closes #497: preserve trailing newline in mangle.json (#882)
Co-authored-by: Leah <github.leah@hrmny.sh>
2021-10-14 17:27:44 +02:00
Ryan Christian
26f382a989
fix: Corrects completion message to show the package's name, rather than the safe name (#895) 2021-10-11 21:39:44 +02:00
Preact Bot
d94bd975f4
Version Packages (#859)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v0.14.0
2021-10-06 10:19:18 -04:00
Jason Miller
96b85da1e3
Resolve using "node" export condition for --target node (#887)
* Resolve using "node" export condition for --target node

When bundling for a Node.js target, Microbundle should follow the "node" conditional package export key to match Node's own resolution. Fixes #886.

* lint

* Create fuzzy-trains-switch.md

* Update index.js
2021-10-06 10:11:06 -04:00
Ryan Christian
29803364fe
feat: Expands generateTypes flag to support TS entries (#865)
* feat: Expands generateTypes flag to support TS entries

* fix: Returning previous .d.ts generation

* test: Modifying `--generateTypes false` test for use on TS projects

* docs: Adding changeset
2021-10-06 10:07:28 -04:00