Daniel Tschinder
|
1d69cd41ca
|
Fix import of type ConfigItem (#7561)
It is also exported as type
|
2018-03-13 13:31:32 -05:00 |
|
Logan Smyth
|
b5e6536f26
|
Remove the sourceMapTarget option from core and implement it in babel-cli. (#7500)
|
2018-03-09 14:14:25 -08:00 |
|
Logan Smyth
|
74ab2798e2
|
Tweaks around PR comments.
|
2018-03-07 18:02:38 -08:00 |
|
Logan Smyth
|
fef5c7e523
|
Expose the partial Babel config for people to load and mutate.
|
2018-03-07 16:33:25 -08:00 |
|
Logan Smyth
|
a4795408b4
|
Allow plugins to assert that a specific babel version has loaded the plugin. (#7450)
|
2018-03-04 14:36:54 -08:00 |
|
Logan Smyth
|
2c3eb3096f
|
Expand the '.env()' API call with more flexibility.
|
2018-02-27 18:48:24 -08:00 |
|
Logan Smyth
|
148e6dfc26
|
Centralize the plugin/configuration API object.
|
2018-02-27 18:48:24 -08:00 |
|
Logan Smyth
|
b19b7fd2cf
|
Fix PR comments.
|
2018-02-27 17:46:17 -08:00 |
|
Logan Smyth
|
d4a8c7672c
|
Avoid using lodash during config loading, for require() performance.
|
2018-02-26 18:44:58 -08:00 |
|
Mike S
|
84de90e572
|
Better error message for invalid plugin/preset (#7238)
- Error for invalid plugin/preset now includes file path
|
2018-02-22 18:30:01 -08:00 |
|
Logan Smyth
|
213805f21e
|
Avoid duplicating types in index-browser.
|
2018-02-08 09:19:16 -08:00 |
|
Logan Smyth
|
9a8ba76e1f
|
Merge .babelrc and .babelignore searching into a single pass.
|
2018-02-08 00:22:49 -08:00 |
|
Logan Smyth
|
85174b6ce1
|
Remove unneeded param from buildRootConfig.
|
2018-02-07 23:23:19 -08:00 |
|
Logan Smyth
|
ec2e0b664a
|
Properly allow undefined ignore patterns for test/include/exclude.
|
2018-02-07 23:23:19 -08:00 |
|
Logan Smyth
|
a19349a22a
|
Merge pull request #7091 from loganfsmyth/config-overrides
Allow configs to have an 'overrides' array
|
2018-01-07 13:51:07 -08:00 |
|
Logan Smyth
|
bb17b72f4f
|
Process .babelignore before .babelrc (#7161)
|
2018-01-05 20:39:36 -08:00 |
|
Logan Smyth
|
a76709cabc
|
Throw errors for users of 'ignore'/'only' options are passed in, but the filename is unknown.
|
2018-01-05 12:47:47 -08:00 |
|
Logan Smyth
|
c292140254
|
Implement an 'overrides' config array to process in order for overrides.
|
2018-01-05 12:47:47 -08:00 |
|
Logan Smyth
|
f4a24a38ca
|
Allow config objects to use test/include/exclude to limit application to specific files.
|
2018-01-05 12:47:47 -08:00 |
|
Logan Smyth
|
193e841d89
|
Allow .env and .overrides in presets.
|
2018-01-05 12:47:47 -08:00 |
|
Logan Smyth
|
758fd0369c
|
Rewrite config chain loading to build chain recursively to keep caching readable.
|
2017-12-21 19:06:36 -08:00 |
|
Logan Smyth
|
7b861796cf
|
Centralize validation logic in common folder.
|
2017-12-21 14:45:19 -08:00 |
|
Logan Smyth
|
f9825394a7
|
Remove unnecessary folder nesting.
|
2017-12-21 14:45:19 -08:00 |
|
Logan Smyth
|
43e7d1d2cc
|
Use an object instead of a 2-tuple.
|
2017-12-21 12:31:48 -08:00 |
|
Logan Smyth
|
de63443762
|
Split babelrc and babelignore searching into two functions.
|
2017-12-21 12:28:51 -08:00 |
|
Logan Smyth
|
1178799f07
|
Remove the LoadedFile class.
|
2017-12-19 15:36:54 -08:00 |
|
Logan Smyth
|
4f53496546
|
Drop the OptionManager class in favor of function.
|
2017-12-19 14:19:37 -08:00 |
|
Logan Smyth
|
1312a30d54
|
Perform normalization in the chain building process.
|
2017-12-19 14:19:37 -08:00 |
|
Logan Smyth
|
4afbc02476
|
Move descriptor merging into config chain processing.
|
2017-12-19 14:19:37 -08:00 |
|
Brian Ng
|
c7980b2b90
|
Bump prettier (#6991)
|
2017-12-07 17:36:49 -05:00 |
|
Logan Smyth
|
189c56628a
|
Replace repeated plugins/preset in top-level config instead of running both.
|
2017-11-25 18:47:13 -08:00 |
|
Logan Smyth
|
8be488652f
|
Allow plugins and presets to have explicit names.
|
2017-11-25 18:46:00 -08:00 |
|
Logan Smyth
|
cdf420d4d8
|
Rewrite config chain tests to use public loadOptions API. (#6909)
|
2017-11-25 18:25:20 -08:00 |
|
Logan Smyth
|
6cb9d20a0a
|
Tie presets pass metadata to descriptors.
|
2017-11-24 19:45:15 -08:00 |
|
Logan Smyth
|
b5cb78d33a
|
Move plugin pass initialization logic a bit.
|
2017-11-24 19:45:15 -08:00 |
|
Logan Smyth
|
1d0a3d6772
|
Remove duplicated assertion. Covered by validate()
|
2017-11-24 19:45:14 -08:00 |
|
Logan Smyth
|
18ea5aca51
|
Expose a 'cwd' option for Babel's root options.
|
2017-11-24 19:43:25 -08:00 |
|
Logan Smyth
|
db28c18458
|
Disallow nested '.env' blocks since they are useless.
|
2017-11-24 17:45:27 -08:00 |
|
Logan Smyth
|
aa2d415507
|
Expose the envName as a programmatic and CLI option.
|
2017-11-15 11:24:39 -08:00 |
|
Logan Smyth
|
74439889d8
|
Centralize envName lookup using caching sidechannel.
|
2017-11-15 10:05:48 -08:00 |
|
Logan Smyth
|
74ea70718e
|
Allow passing an cachable 'sidechannel' object into cache handlers.
|
2017-11-15 10:05:47 -08:00 |
|
Logan Smyth
|
bbff566024
|
Use expanded caching API to simplify usage.
|
2017-11-15 09:51:13 -08:00 |
|
Logan Smyth
|
3942862a2a
|
Expose more caching flexibility for Babel's internal use.
|
2017-11-15 09:51:12 -08:00 |
|
Logan Smyth
|
44c2791849
|
Expose a function for plugins to check if async plugins are supported by the current compilation.
|
2017-11-13 11:58:31 -08:00 |
|
Logan Smyth
|
0e88156d0c
|
Add warnings to places where we might allow promises to be returned in later minors.
|
2017-11-13 11:58:30 -08:00 |
|
Logan Smyth
|
432a9b5092
|
Allow sourceType:unambiguous as a way to tell Babylon to guess the type. (#6789)
* Allow sourceType:unambiguous as a way to tell Babylon to guess the type.
* Update some docs.
|
2017-11-10 15:00:06 -08:00 |
|
Logan Smyth
|
4a5d551370
|
Set babelrc:false on config load for more consistent loading.
|
2017-11-09 12:26:40 -08:00 |
|
Logan Smyth
|
2bfa2eb5cd
|
Apply option defaults when transforming, not up front.
|
2017-11-09 12:20:52 -08:00 |
|
Logan Smyth
|
fc7fcfac0a
|
Expose a clear API for plugins to override the parser/generator.
|
2017-11-09 10:34:12 -08:00 |
|
Logan Smyth
|
52d337e4d9
|
Move plugin object validation into plugin file.
|
2017-11-09 10:24:04 -08:00 |
|