Brian Ng
36e017b427
Ensure explicit targets always override browsers key targets
2017-06-01 08:38:55 -05:00
Brian Ng
0781f711d0
Support target versions as strings ( #231 )
2017-05-19 16:28:30 -05:00
Diogo Franco
75db91940e
Support spec option ( #98 )
2017-04-14 10:11:36 -05:00
Artem Yavorsky
d60cd65213
Remove deprecated comment ( #271 )
2017-04-11 20:53:33 +03:00
Brian Ng
2f28de5d70
Add Android browser to name map
2017-04-11 11:45:16 -05:00
Artem Yavorsky
1e4e071c25
Support electron version in a string format.
2017-04-07 19:29:49 +03:00
Artem Yavorsky
624c2868c0
Allow use babel-plugin- prefix for include and exclude. ( #242 )
2017-04-04 09:24:25 -05:00
Artem Yavorsky
c4c9a7fc88
Fill data with electron as a target. ( #229 )
2017-03-28 23:07:17 -05:00
Mikhail Shustov
ae3dfda1d6
separate default builtins for platforms ( #226 )
2017-03-27 17:43:18 -05:00
Artem Yavorsky
5537635175
Fix object-curly-spacing rule.
2017-03-10 14:00:28 +02:00
Artem Yavorsky
6a2b6fc0e0
Add uglify as a target ( #178 )
2017-03-03 15:36:54 -06:00
Brian Ng
68c2a725c6
add electron version util to normalize-options
2017-02-28 11:38:55 -06:00
Brian Ng
2e0f64256f
Use invariant for invalid electron version
2017-02-28 11:38:27 -06:00
Artem Yavorsky
1bc8325679
Fix hasBeenWarned condition. ( #175 )
2017-02-27 10:12:02 -05:00
Brian Ng
1bb8f30b24
Drop use of lodash/intersection from checkDuplicateIncludeExcludes ( #173 )
2017-02-24 15:47:18 -05:00
Brian Ng
1092dde11c
Add tests for debug output ( #156 )
2017-02-24 08:27:43 -05:00
Artem Yavorsky
bc02c95ef0
Fixes #143 . Log correct targets. ( #155 )
2017-01-26 19:53:52 -05:00
Kilian Valkhof
4cefa5bcc0
Use external Electron to Chromium library ( #144 )
...
* Replace manual electron-to-chromium list and function with external library
* test fixtures for electron: Switch to electron 1.4, with known chrome version and update expected output
* update tests: electron 1.0 used chrome 49, not 50
* import only the relevant function from electron-to-chromium
* electron fixtures: Use number instead of string
* If both chrome and electron are defined, choose the lower version to preserve
* Add to test cases to verify correct handling of chrome number
2017-01-19 17:41:02 -05:00
Brian Ng
69870774e7
Fix few typos
2017-01-18 19:12:13 -06:00
Eric Baer
05353d5392
Extract option normalization into independant file
2017-01-18 09:01:06 -08:00
Kai Cataldo
ad5698ed19
devDeps: eslint-config-babel v5.0.0 ( #139 )
2017-01-15 22:34:53 -05:00
Artem Yavorsky
74f2fb17a1
Transformations before logs ( #128 )
2017-01-10 12:03:07 -05:00
Marco Massarotto
1815ffab14
Explicitly resolve lowest browser version ( #121 )
...
stop relying on browserlist returning a list sorted by browser version
fix #119
2017-01-06 17:18:43 -05:00
Brian Ng
76e12a3cae
Show error if target version is not a number ( #107 )
2017-01-02 23:55:32 -05:00
Artem Yavorsky
1fa3916f75
Use parsed targets for Using targets log.
2016-12-23 13:28:33 +02:00
Artem Yavorsky
63c0931340
Make plugin output single-lined.
2016-12-23 13:22:45 +02:00
Artem Yavorsky
c0b8f5b604
Fix targets for debug.
2016-12-23 01:42:30 +02:00
Henry Zhu
da8ed9643b
fix debug
2016-12-16 18:03:29 -05:00
Henry Zhu
c6afaa74d4
fix include/exclude for built-ins ( #102 )
2016-12-16 17:26:15 -05:00
Henry Zhu
7e8fbd5177
fix issue with using Object.values
2016-12-13 18:11:45 -05:00
Henry Zhu
45370e3553
add exclude option, rename whitelist to include ( #89 )
2016-12-13 16:16:54 -05:00
Eric Baer
e379681b58
Update pathnames to aviod uppercase + consistent with other babel projects
2016-12-12 08:59:52 -05:00
Henry Zhu
8622d0af39
lint [skip ci]
2016-12-12 08:57:51 -05:00
Artem Yavorsky
635e76c85a
Optimize result filtration. ( #77 )
2016-12-12 08:48:18 -05:00
Henry Zhu
44c40cf7ab
fix regenerator import ( #68 )
2016-12-10 10:11:15 -05:00
Henry Zhu
64ed1ba167
add tests for electron option
...
Closes gh-55
2016-12-09 14:42:26 -05:00
Paul Betts
a38f07181d
Map Electron versions to Chromium ones
2016-12-09 14:42:11 -05:00
Henry Zhu
08cd975eb4
always include web polyfills for now
2016-12-09 11:23:46 -05:00
Henry Zhu
d2976bed13
remove console.log, fix tests
2016-12-09 11:23:46 -05:00
Henry Zhu
541ebb5e5f
also import regenerator when the transform is required
2016-12-09 11:23:46 -05:00
Henry Zhu
8e2aa82991
also transform 'core-js'
2016-12-09 11:23:46 -05:00
Henry Zhu
5d32ca6bb3
prevent duplicate imports
2016-12-09 11:23:46 -05:00
Artem Yavorsky
99c078e92a
Add logs for polyfills. ( #59 )
2016-12-09 11:23:46 -05:00
Henry Zhu
6ffd13af85
fixes
2016-12-09 11:23:46 -05:00
Henry Zhu
d06270498b
add some tests
2016-12-02 17:58:31 -05:00
Henry Zhu
3a7a1b9221
add more features
2016-12-02 16:47:38 -05:00
Henry Zhu
7afe25bda1
change format
2016-12-02 16:04:02 -05:00
Henry Zhu
c09532f035
plugin transforms the imports/requires
2016-12-02 15:33:27 -05:00
Henry Zhu
6c58d93602
setup the babel plugin to transform the babel-polyfill calls + pass the data option to the plugin from the preset
2016-12-02 13:04:21 -05:00
Henry Zhu
60efc0dd10
add useBuiltIns option
2016-12-02 11:43:36 -05:00