Huáng Jùnliàng
af04f40ee0
fix: pass optionLoc when validating plugin object ( #10402 )
2019-09-11 12:23:20 +02:00
Daniel Tschinder
4ca35ef8b9
Fix running flow on travis and update flow ( #9128 )
...
* Fix running flow on travis and update flow
- ensure bootstrap is run before running flow as we need some generated files for correctly doing typechecks
- ensure that we only ignore the build directory inside the babel folder as currently we ignore everything because travis checks out into ‘/home/travis/build/’
* Fix all flow errors
2018-12-05 12:30:30 -08:00
Logan Smyth
bd0c62dc0c
Allow users to choose how the configuration root is selected. ( #8660 )
2018-09-15 13:03:46 -07:00
tsangint
e875fc7bc1
Update url in buildUnknownError tips ( #8544 )
2018-08-26 15:00:32 +02:00
Logan Smyth
8f4bae8ea4
Expose optional caller metadata to Babel ignore/only/test/include/exclude functions.
2018-08-20 10:27:54 -07:00
Logan Smyth
c2a2e24965
Take top-level config source into consideration when processing nested env/overrides. ( #8493 )
2018-08-19 21:46:09 -07:00
Logan Smyth
6d177ba4c5
Remove micromatch and use a simple pattern matching utility.
2018-07-16 09:57:14 -07:00
Logan Smyth
ca1c98b255
Allow .overrides and .env inside presets.
2018-05-21 18:23:07 -07:00
Logan Smyth
bdcfb697a6
Use 'babelrc' and 'babelrcRoots' from config file, if not specified.
2018-05-11 17:49:11 -07:00
Logan Smyth
0341d299c8
Validate different file types with different rules.
2018-05-11 16:51:43 -07:00
Logan Smyth
8606b76438
Split babelrc option into babelrcRoots.
2018-04-22 13:00:28 -07:00
Logan Smyth
a67eb25547
Only search for .babelrc files in the 'root' package by default.
2018-04-20 17:00:53 -07:00
Logan Smyth
485e37fcb0
Support a babel.config.fs file in a 'root' directory.
2018-04-20 17:00:53 -07:00
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
fef5c7e523
Expose the partial Babel config for people to load and mutate.
2018-03-07 16:33:25 -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
7b861796cf
Centralize validation logic in common folder.
2017-12-21 14:45:19 -08:00