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
realdennis
c18b7c4d44
Defensive check, preset.options would be undefined sometime
2019-12-08 01:18:29 +08:00
Jason Miller
a5000727da
Merge branch 'master' into brotli-try-catch
2019-10-21 12:29:06 -04:00
Jason Miller
e3c061905a
Update index.js
2019-10-17 17:41:41 -04:00
Jason Miller
ab936de2e9
Disable Terser eager parsing hack
2019-10-17 17:35:38 -04:00
Madalyn Parker
4d6236d8bb
wrap brotli in try/catch to avoid error for lower versions of node
2019-10-14 11:36:57 -04:00
Leah
068081c228
updates
2019-08-23 23:37:33 +02:00
Federico Zivolo
1feb58b9b2
fix: properly forward jsx and jsxPragma to customBabel
2019-08-20 17:05:10 +02:00
Jason Miller
804cf70371
Switch from .mjs to .esm.js to avoid webpack tomfoolery ( #448 )
2019-08-08 20:06:12 +02:00
chuahcheeshian
759193417d
feat: add support for custom tsconfig path ( #458 )
2019-08-01 17:17:21 +02:00
Federico Zivolo
bb8c59bac9
fix: add Flow support back ( #444 )
2019-07-10 00:19:27 +02:00