154 Commits

Author SHA1 Message Date
Matías Olivera
45e79ace3e Set package name when not exists
* Before pkgName was equal to undefined
* Allow passing no-pkg and no-pkg-name tests
2019-01-04 01:05:31 -03:00
Matías Olivera
64b08e853b Create getEntries function 2019-01-03 15:26:22 -03:00
Matías Olivera
b3ec030bb7 Create getOutput function 2019-01-03 15:18:40 -03:00
Matías Olivera
617c75acfa Create getInput function 2019-01-03 15:12:16 -03:00
Matías Olivera
3acca423bc Refactor the jsOrTs function
* Calc the extension and save it in a const to make the code simpler
2019-01-03 14:47:28 -03:00
Matías Olivera
3fc623a6b6 Move safeVariableName near getName
It is only called in getName
2018-12-25 20:54:51 -03:00
Matías Olivera
b696954a15 Create getName function 2018-12-25 20:46:39 -03:00
Matías Olivera
fd7b890cb8 Create getConfigFromPkgJson function 2018-12-25 20:01:41 -03:00
Matías Olivera
e9ee0c934d Create cwd constant and avoid multi assign
Avoid use of chained assignment expressions
https://eslint.org/docs/rules/no-multi-assign
2018-12-25 19:32:42 -03:00
Matías Olivera
49a96e52d7 Create an internal variable called options
Avoid mutate the options parameter. https://eslint.org/docs/rules/no-param-reassign.html
2018-12-25 19:24:56 -03:00
Leah
2dd10e5a1f
Merge branch 'master' into remove_import_pruning 2018-12-18 23:42:21 +01:00
Federico Zivolo
a474f417dc
Merge branch 'master' into fix/hoisted-packages 2018-12-11 15:31:20 +01:00
Federico Zivolo
058b2b93bd fix: support hoisted packages 2018-12-11 15:30:40 +01:00
Marvin Hagemeister
5e9c9ce2da Fix async not transpiled with TS 2018-12-11 09:33:40 +01:00
Marvin Hagemeister
3176b69754 Remove import pruning 2018-12-04 21:57:40 +01:00
Luis Deschamps Rudge
a67124e2b2 new line 2018-12-01 18:26:21 -02:00
Luís Rudge
ef0651c88b Update cli.js 2018-12-01 18:25:47 -02:00
Luis Deschamps Rudge
b735052801 Fix importing superagent 2018-12-01 18:25:46 -02:00
Leah
846af27c4c actual prettier fixes, love the module mess 2018-12-01 13:44:42 +01:00
Leah
95b9b97175 prettier fixes + require.resolve babel 2018-12-01 12:56:50 +01:00
Leah
ee7691dcd0 add back shebang 2018-12-01 12:56:31 +01:00
Marvin Hagemeister
8d0e472366 Update prettier to fix linting issue 2018-12-01 09:27:18 +01:00
Marvin Hagemeister
2beb4cad85 Add back shebang handling 2018-12-01 09:21:15 +01:00
Marvin Hagemeister
bd6b552c6d Prevent user supplied babel optionsWe didn't support that before anyway 2018-11-28 09:25:19 +01:00
Marvin Hagemeister
cebff34d41 Only target es2017 with TS pass it to babel + bublé 2018-11-27 08:39:47 +01:00
Marvin Hagemeister
a89d6d2997 Fix prettier linting error 2018-11-27 08:17:47 +01:00
Marvin Hagemeister
7fb2c15534 Add plugin to transform class properties 2018-11-27 08:17:47 +01:00
Ryan Petrich
5536a55df1 Enable externalHelpers for async transform
Co-Authored-By: marvinhagemeister <marvin@marvinhagemeister.de>
2018-11-27 08:17:46 +01:00
Marvin Hagemeister
71cb427dbd Replace nodent with a babel transform plugin 2018-11-27 08:17:45 +01:00
Jason Miller
0d7798705b prettier whitespace fixes 2018-11-26 12:13:59 -05:00
Jason Miller
9c23bdacbd
Merge pull request #243 from developit/0.7.0
0.7.0
2018-11-20 12:03:07 -05:00
Marvin Hagemeister
e42bbc9bf0 Fix linting error 2018-11-15 06:30:29 +01:00
Leah
c8aba0bd03 whoops, didn't mean to fuck this up 2018-10-26 03:35:31 +02:00
Leah
071861e374 change default target to web and adjust build 2018-10-26 02:29:04 +02:00
Leah
9cc678d0d4 Don't minify by default for target == "node" 2018-10-26 02:19:23 +02:00
Jason Miller
29f08a9fe7
Merge branch 'master' into chore/dep-updates 2018-10-25 20:14:45 -04:00
Leah
0e41d34bf1 update dependencies 2018-10-22 23:45:02 +02:00
Leah
83298bd097
Merge pull request #228 from chocolateboy/update-docs
Update documentation
2018-10-22 23:34:56 +02:00
Aleksandar Benic
7fb4f08224 feat(sourcemaps): support for ts sourcemaps and invert sourcemap flag (#227)
Closes  #216.
2018-10-22 23:18:43 +02:00
chocolateboy
3ec208a583 update documentation after #137: s/UglifyJS/Terser/ 2018-10-16 18:53:28 +01:00
Mateusz Burzyński
41553421b0 Migrate to terser from uglify-js (#137) 2018-10-09 00:35:11 +02:00
Andre Wiggins
16850de849 Merge branch 'master' into raw-option 2018-08-27 15:00:47 -07:00
Aleksandar Benic
82f5702329 fix(typescript): add cache folder for each format 2018-08-26 22:11:22 +02:00
Leah
ef3244ed9e
Merge pull request #182 from developit/greenkeeper/brotli-size-0.0.3
Update to brotli-size@0.0.3 and use its new async mode
2018-08-14 18:59:05 +02:00
Leah
a7a6900f43
Merge pull request #186 from Ayc0/feature/globals
Supports --globals config
2018-08-14 13:10:36 +02:00
Jason Miller
e17342e772
Use async version of brotli-size (0.0.3) 2018-08-13 22:07:17 -04:00
Leah
da3942365e
Merge pull request #163 from luxp/patch-1
add the --jsx document
2018-08-13 13:17:28 +02:00
Ayc0
940071fbcf Supports --globals config 2018-08-08 23:14:06 +02:00
luxp
aecce4e6e0 tweak 2018-08-04 00:56:53 +08:00
luxp
be086ec1e6 style: eslint 2018-08-04 00:24:53 +08:00