460 Commits

Author SHA1 Message Date
Ward Peeters
6995092144 copy correct command XD 2019-05-15 18:44:29 +02:00
Ward Peeters
a346c403c0 chore: add travis-size-report 2019-05-15 18:33:21 +02:00
Leah
d0e66da957
Rollup 1.0 + other updates (#361)
* Rollup fixes + other updates

* Move typescript cache to `node_modules/.cache`
2019-05-07 19:27:50 +02:00
Ward Peeters
8c4f5c2f85 refactor(jest): use it.each & remove sourcemaps from snapshots (#386) 2019-05-05 13:20:00 +02:00
Marvin Hagemeister
3f1d6b5b70
Merge pull request #377 from transitive-bullshit/master
Fix node-resolve warnings
2019-04-17 07:32:42 +02:00
Travis Fischer
061b972d3d fix node-resolve warnings 2019-04-17 00:52:36 -04:00
bors[bot]
16fcf6817c Merge #372
372: Support package.json source array r=ForsakenHarmony a=maraisr

With this PR, I am to solve issue #364, however I believe this shouldn't also need to support `source` that could be either a directory, or a file, or a glob. To keep things simple.

fixes #364

Co-authored-by: Marais Rossouw <me@maraisr.com>
2019-04-04 12:45:57 +00:00
Marais Rossouw
5d8bee9ed0
chore: Iterate the array result, not the single 2019-04-03 08:02:11 +10:00
Marais Rossouw
076ce041c4
feat: Support source array 2019-04-03 07:59:21 +10:00
bors[bot]
71407a932e Merge #371
371: Snapshots need updating due to new build dependants r=ForsakenHarmony a=maraisr

With this PR I aim to fix issues that are caused by potentially merging #368 and #369.

Looks like with TypeScript 3.4, the output it produces is a little smarter in the way it's doing things. 

fixes #369, #369

Co-authored-by: Marais Rossouw <me@maraisr.com>
2019-04-02 13:37:16 +00:00
Marais Rossouw
de43d5bda9
fix: Snapshots need updating due to new build dependants 2019-04-02 09:43:59 +10:00
Edouard
41607cf0ac Readme/newcomer infos (#354)
* Added informations about typescript usage

I admit there's not much there, but as a newcomer I spent some time looking around for it. 
Turns out it's so simple it works by default :D But you have to know it.

* Surfacing the input/output file default config

As a newcomer, I missed this information as it was a bit buried in a big paragraph. I think this might make it stand out a bit more.

* Infos about default input/output

I think it has Its place in the installation phase as it's required for everything to work and has to be set up anyway.

* Cli options at the end of usage chapter

It seems more natural to me to end this way, but really that's subjective.

* Tidy up

* Added typescript to features

It's a very nice feature, it deserves Its place there (I think)

* Added "types" to specifying builds chapter

* Apply suggestions from code review

Co-Authored-By: isthatcentered <e.peninb@gmail.com>

* Apply suggestions from code review

Co-Authored-By: isthatcentered <e.peninb@gmail.com>

* Added latest full cli --help output
2019-03-23 00:01:43 +01:00
Jason Miller
a6d055251e rename define test fixture 2019-03-21 15:04:17 -04:00
Jason Miller
9151ee93d8
Merge pull request #348 from jviide/replace-expressions-plugin
Implement --define with babel-plugin-transform-replace-expressions
2019-03-21 09:19:42 -04:00
Joachim Viide
d526b0f201
Merge branch 'master' into replace-expressions-plugin 2019-03-21 09:30:51 +02:00
Jason Miller
66cce0753f
Merge pull request #358 from jviide/up-to-eleven
Fix failing tests by setting fixture test timeout to 11000ms
2019-03-20 20:30:58 -04:00
Joachim Viide
35efae8f08 Set fixture test timeout to 11000ms 2019-03-21 01:37:26 +02:00
Joachim Viide
bf31c0e147 Update define test fixtures 2019-03-19 16:47:06 +02:00
Jason Miller
787abdfcb5
Merge branch 'master' into replace-expressions-plugin 2019-03-19 10:21:06 -04:00
Jason Miller
02efb6d6d8 Update Jest to fix CI failures 2019-03-19 10:20:23 -04:00
Joachim Viide
f3db566ef7 Set configFile: false for the Babel plugin handling node_modules 2019-03-19 16:15:20 +02:00
Jason Miller
e7d31ac9a3
Merge branch 'master' into replace-expressions-plugin 2019-03-19 10:07:59 -04:00
Joachim Viide
84276fbf71 Implement --define with babel-plugin-transform-replace-expressions 2019-03-12 01:31:36 +02:00
Jason Miller
cc88ddf817
Merge pull request #338 from asmockler/patch-1
Correct default --target option
2019-03-08 22:29:14 -05:00
Jason Miller
ee9213ff17
Merge branch 'master' into patch-1 2019-03-08 22:29:07 -05:00
Jason Miller
2c32109528 0.11.0 0.11.0 2019-03-04 18:31:58 -05:00
Jason Miller
f6ebebb1f8
Merge pull request #335 from developit/compressor-options
Add compressor options
2019-03-04 18:30:25 -05:00
Jason Miller
cf00d7dad1 fix mangle.json always being generated 2019-03-04 18:29:37 -05:00
Andy Mockler
3061190751 Correct default --target option 2019-03-04 10:49:17 -05:00
Jason Miller
69b51655c5 lint fixes 2019-03-04 09:26:10 -05:00
Jason Miller
d94a50e0c2
Fix crasher 2019-03-04 09:20:51 -05:00
Jason Miller
8842f3eee1
Implement new minify config format 2019-03-04 09:07:25 -05:00
Jason Miller
9f9672a524
Add compressor options
This allows specifying Terser options in mangle.json or package.json's "mangle" field.
2019-03-03 23:10:05 -05:00
Jason Miller
f293bf8bec
Merge pull request #322 from tomByrer/patch-1
+ Nodent link in Readme
2019-02-25 13:21:37 -05:00
Jason Miller
399ab19c6a
move link to bottom 2019-02-25 13:21:23 -05:00
Jason Miller
81f8310eee
async-to-promises 2019-02-23 17:28:47 -05:00
Jason Miller
952aedec14
Merge branch 'master' into patch-1 2019-02-23 17:25:33 -05:00
bors[bot]
4ef32f17bf Merge #324
324: Move Rollup 'treeshake' value to be a part of inputOptions r=ForsakenHarmony a=jviide

This pull request moves the `treeshake` value that is passed to Rollup. Based on [the documentation](https://rollupjs.org/guide/en#inputoptions) it should be a part of the `inputOptions` object instead of `outputOptions`.

Co-authored-by: Joachim Viide <jviide@iki.fi>
2019-02-23 17:51:08 +00:00
Joachim Viide
b1f16b3376 Fix rollup options - 'treeshake' should be a part of inputOptions 2019-02-23 19:33:06 +02:00
Matías Olivera ⚡
65730af20f Refactor | Test refactoring (#290)
thx @MatiasOlivera
2019-02-23 18:16:10 +01:00
Rin
b7c4b47481 Updates README.md to added react-router-ext (#320)
Updates README.md to added react-router-ext Built with Microbundle
2019-02-23 14:45:11 +01:00
Tom Byrer
125d05b928
+ Nodent link in Readme
I'm assuming you meant that Nodent?

Thanks for all your good work!
2019-02-22 21:36:40 -06:00
Jason Miller
31cc2c94e0 0.10.1 0.10.1 2019-02-22 17:41:42 -05:00
Jason Miller
5ab095874d when the tests dont pass, change the tests 2019-02-22 17:39:18 -05:00
Jason Miller
1ac4ccccfa
Merge pull request #321 from jviide/up-to-almost-11
Set the number of terser passes to 10
2019-02-22 16:07:13 -05:00
Joachim Viide
706ad48d42 Update test snapshots 2019-02-22 22:20:40 +02:00
Jason Miller
90d923394d update snaps 2019-02-22 14:55:51 -05:00
Joachim Viide
9e04a3d80a Set the number of terser passes to 10 2019-02-22 20:28:52 +02:00
Jason Miller
3d21c043c1 Make --define preserve boolean and integer literals by default instead of making everything a string. 2019-02-22 13:21:12 -05:00
Jason Miller
39dad8e724 Fix broken --alias option 2019-02-22 13:20:09 -05:00