Jason Miller
305a50fb7a
[draft] Use Babel to transpile JSX instead of TypeScript ( #573 )
...
Co-authored-by: Leah <me@hrmny.sh>
Co-authored-by: Leah <github.leah@hrmny.sh>
2020-07-20 22:05:26 -04:00
Jason Miller
037b0f26d3
refactor: split utilities in separate files ( #624 )
...
Co-authored-by: Ward Peeters <ward@coding-tech.com>
2020-07-07 23:47:45 +02:00
Katja Lutz
658d867900
refactor: use rollup dir and entryFileNames options instead of file ( #674 )
2020-07-04 15:33:36 +02:00
Katja Lutz
1d609126bf
Add onStart and onError callbacks, accessible rollup watchers ( #668 )
2020-06-29 22:48:09 +02:00
Katja Lutz
5f1a6a9e3f
fix: dont set aliases as externals ( #671 )
2020-06-29 22:45:30 +02:00
Jason Miller
302807d655
Strip comments from output ( #548 )
2020-06-29 22:37:10 +02:00
Katja Lutz
72619a0344
fix: add externals with dash to globals ( #643 ) ( #667 )
2020-06-20 17:07:16 -04:00
Jason Miller
4c6a7e0110
Improve checkJs Typings ( #666 )
...
* Allow RegExp --externals only for the CLI argument
* Fix globals generation for regex externals
* Improved checkJs typings
* spelling
2020-06-19 18:38:26 -04:00
Jason Miller
4b36427439
Allow RegExp --externals only for the CLI argument ( #665 )
...
* Allow RegExp --externals only for the CLI argument
* Fix globals generation for regex externals
* Fix comment description
2020-06-19 18:36:44 -04:00
Jason Miller
5f8ea9ee7e
Use DI to prevent multiple copies of @babel/core ( #664 )
...
* Use DI to prevent multiple copies of @babel/core
Fixes #657 .
* Actually fix it (haha)
2020-06-19 13:27:03 -04:00
Katja Lutz
2a667c708e
fix: escape rollup external test items ( #650 )
2020-06-14 13:28:22 +02:00
Katja Lutz
f4ab33d3c7
feat: add --pkg-main option ( #658 )
2020-06-14 13:26:49 +02:00
Jason Miller
a8a36acc81
--no-compress should preserve comments ( #648 )
...
This fixes #647 .
2020-06-03 07:07:58 +02:00
Katja Lutz
65df3c164f
fix: set types declarationDir based on cwd (developit/microbundle#643) ( #646 )
2020-06-02 22:32:55 +02:00
Marvin Hagemeister
c8b46cf51e
Fix TS failing if module is set to CommonJS ( #638 )
2020-06-01 13:10:58 +02:00
Kristoffer K
58288ec989
fix: add missing dependencies and use require.resolve ( #634 )
2020-05-27 22:11:43 +02:00
Marvin Hagemeister
ded90ace96
Fix TypeScript emit target ( #629 )
...
* Fix TypeScript including build artefacts
* Fix declaration files emitted into wrong directory
2020-05-25 06:17:57 +02:00
Jason Miller
0c68bb62eb
Allow import.meta usage
2020-05-22 14:31:34 +00:00
Marvin Hagemeister
6533e7cbb7
TS: Fix Fragments broken when jsxFactory is set
2020-05-20 20:49:10 +02:00
Teo Dragovic
de5b202dfe
Update rollup babel plugin
2020-05-13 17:56:03 +02:00
Jason Miller
d0ca19157e
Add fast rest parameters transform
2020-05-08 19:51:25 +00:00
Jason Miller
2bb2a18198
Use a separate Rollup cache for modern output.
2020-05-07 23:21:15 +00:00
Jason Miller
078dbdb389
preferBuiltins: true for node, false for web
...
I don't know why I had this as undefined. We never want to inline built-ins.
2020-05-06 16:31:34 -04:00
Jason Miller
4cd4275209
Document iife format ( #601 )
2020-05-06 11:13:26 +02:00
Jason Miller
e6136ebfaa
Merge branch 'master' into async-to-promises-helpers
2020-04-30 23:08:04 -04:00
Jason Miller
1d1387326c
Update babel-custom.js
2020-04-30 13:19:54 -04:00
Jason Miller
e552ead847
Merge branch 'master' into define-expression-replacement
2020-04-30 13:18:45 -04:00
Jason Miller
67a3bcc161
Merge branch 'master' into async-to-promises-helpers
2020-04-30 13:18:26 -04:00
Jason Miller
e85667c5c4
Merge branch 'master' into strip-ts-extensions
2020-04-30 13:11:18 -04:00
Jason Miller
2635e2efac
Also minify
2020-04-28 10:29:39 -04:00
Jason Miller
3d0e555633
Don't emit code that relies on importing external helpers
2020-04-28 10:21:10 -04:00
Jason Miller
7f224edaa4
Merge branch 'master' into define-expression-replacement
2020-04-23 09:58:18 -04:00
Jason Miller
ab4080c3b4
Fix incorrect name for expression defines
2020-04-19 22:00:54 +00:00
Jason Miller
e13ecddc45
lint
2020-04-18 11:27:36 -04:00
Jason Miller
195451d930
Set preferBuiltins:true for Node
...
This option was enabled by default at some point in the node-resolve plugin, which should already have fixed #303 and #288 . It still prints a warning though, which is illogical when we're compiling for a Node target. This silences that warning.
2020-04-18 11:25:55 -04:00
Jason Miller
190c9d79e2
:|
2020-04-16 16:11:17 -04:00
Jason Miller
3d0da3fced
Re-add support for --define @expression=replacement
2020-04-16 16:05:26 -04:00
Jason Miller
0fa522d3f3
prettier
2020-04-16 14:34:26 -04:00
Jason Miller
dd27d8f7d3
Strip .ts extensions when generating bundle filenames
2020-04-16 14:30:43 -04:00
Jason Miller
2dd4afec70
Fix babel cache bleed ( #570 )
...
* Instantiate babel.custom() separately for each output
* Update index.js
* prettier
* prettier
* lint fixes
* revert unrelated terser change
* add test for modern + generators
Co-authored-by: Leah <me@hrmny.sh>
2020-03-12 16:36:04 -03:00
Jirat Ki
875558b9ff
Add comment
2020-03-01 15:54:50 +08:00
Jirat Ki
9eb78a4110
Supply extensions to node-resolve plugin
2020-02-28 16:50:33 +08:00
Marais Rossouw
5100c7bbf2
Adds a --css-modules option ( #370 )
...
* feat: adds a `--cssmodules` option
* chore: Allow scopeName to come from args
* chore: --css-modules is now tristate
* docs: Wrote docs around how to use css-modules
* chore: Fixed all tristate logic, and readable first
* test: Wrote tests for all avenues
* chore: Add's newlines to the end of files
2020-02-09 18:41:09 +01:00
Jovi De Croock
56ab91357e
correct regexp
2020-02-02 21:35:12 +01:00
Jovi De Croock
20d165cd14
add the preset conversion
2020-02-02 19:11:08 +01:00
Jovi De Croock
fc4568d9f4
update snapshots and implement custom babelrc
2020-02-02 19:04:16 +01:00
Jovi De Croock
24c3c56638
implement preset-modules for modern
2020-02-02 18:46:46 +01:00
Leah
743338f42a
update dependencies + snapshots
2020-01-06 03:58:31 +01:00
Dennis
1451c036ac
Merge branch 'master' into fix-reference-issue
2019-12-09 02:56:21 +08:00
realdennis
3586dc436b
Correct the code for linter rule
2019-12-08 01:29:08 +08:00