88 Commits

Author SHA1 Message Date
Mateusz Burzyński
a753766676 Format all files with prettier 2018-05-21 10:21:54 +02:00
Sergey Petushkov
9bbca447f0 Prettify errors; Unify std* output wit util methods 2018-05-11 16:30:54 +02:00
Leah
8f4d40069a missed this for some reason 2018-04-22 03:19:54 +02:00
Leah
7e7ba52aa2 Fix sourcemaps, use tiny glob, better build 2018-04-22 03:18:40 +02:00
Leah
63065e2b58 Merge remote-tracking branch 'upstream/master' 2018-04-22 03:07:33 +02:00
Nick Randall
e445a0aeb6 Minify CSS assets with cssnano if compress option is true (#121) 2018-04-22 03:06:02 +02:00
Jess Telford
b2e675c60a Better output when building fails on CLI (#120)
* Better output when building fails on CLI
2018-04-22 03:05:03 +02:00
Leah
708a6ab2b8
Merge pull request #83 from Andarist/external-subdirs
Treat imported subdirectories/files from packages as external too
2018-04-22 03:01:37 +02:00
Leah
20c804e224 Just some formatting stuff for consistency and readability 2018-04-22 01:33:59 +02:00
Mateusz Burzyński
9bbb6fa915
Merge pull request #114 from ngryman/master
Support --watch flag
2018-03-29 10:14:16 +02:00
ngryman
240681e05e
move watch flag up with other aliased flags 2018-03-29 00:40:06 +02:00
ngryman
22d4c4a533
support --watch flag 2018-03-28 23:26:58 +02:00
Mateusz Burzyński
177c1eefab Reworked external option slightly (default to all), removed undocumented inline option 2018-03-14 22:37:41 +01:00
Jared Palmer
b72b12d1d0 Close #80. Add .tsx support 2018-03-09 11:43:22 -05:00
Leah
b1534fc588 Update dependencies 2018-02-25 00:45:01 +01:00
Mateusz Burzyński
6708cbe19d Support for specifying build script per test (in test package.json), added tests for various name options 2018-02-21 20:28:29 +01:00
Jason Miller
8905cd463c
Merge pull request #71 from freeman/rollup-plugin-typescript2
Switch to `rollup-plugin-typescript2`
2018-02-20 22:18:06 -05:00
Jason Miller
87d70512fb
Merge pull request #79 from cristianbote/source-map-option
Added source-map option
2018-02-20 22:16:30 -05:00
Mateusz Burzyński
d69e1eaae1 Treat imported subdirectories/files from packages as external too 2018-02-15 16:41:12 +01:00
Mateusz Burzyński
4c7182b5c0
Fixed crash when bundling packages without dependencies 2018-02-10 19:56:50 +01:00
Cristian Bote
b4dcc27fe0 Drop the undefined check and just use the ! check 2018-02-06 00:00:08 +02:00
Cristian Bote
67b7c52054 Added better value checking 2018-02-05 16:43:04 +02:00
Cristian Bote
845c6c5873 Added source-map option 2018-02-05 16:10:22 +02:00
Michel Rasschaert
1bd22b7ab7 upgrade to rollup-plugin-typescript2@0.11 2018-02-02 07:49:50 +01:00
Jason Miller
db0d414ea6
Merge pull request #68 from fwilkerson/feature/emit-bundle-events
Emit bundle events
2018-01-29 11:20:20 -05:00
Michel Rasschaert
0c8c452575 switch to rollup-plugin-typescript2
adjust test to verify generation of `.d.ts`.
2018-01-28 18:57:33 +01:00
Frank Wilkerson
4ffe9451e9 a more specific api than just emit 2018-01-26 17:55:55 -07:00
Jason Miller
edf2975a78
Merge branch 'master' into feature/newer-typescript 2018-01-26 12:54:51 -05:00
Jason Miller
cc8718638c Move to uglify-es and rollup-plugin-uglify@3! 2018-01-26 12:49:55 -05:00
Sean Tymon
a1d926fd40 use latest typescript and fix issue with importHelpers 2018-01-26 09:04:24 +00:00
Frank Wilkerson
30fdc0592e consistent naming 2018-01-25 22:01:38 -07:00
Frank Wilkerson
31ca55ab72 include error events 2018-01-25 20:55:51 -07:00
Frank Wilkerson
f08a7237f9 add the option to emit build events when running microbundle programmatically 2018-01-25 20:46:36 -07:00
Tom Vincent
f9b6e023bb
Guard against flow transform response
Closes #64.
2018-01-25 10:05:58 +00:00
Jason Miller
b38b8603b7 Fix Nodent usage of acorn-jsx. (thanks @songawee - see developit/karmatic#8) 2018-01-24 15:57:13 -05:00
Jason Miller
a133de8c38 Show error stack traces 2018-01-24 15:55:19 -05:00
Jason Miller
b55ae94bf7 Fix sourcemaps! 2018-01-24 08:58:43 -05:00
Jason Miller
236fa3f4de Automatically detect and use index.ts & src/index.ts entry rather than requiring it to be manually specified. 2018-01-23 14:52:55 -05:00
Jason Miller
7db4d5c2e7 Don't warn about missing "name" field in package.json if we just warned about a missing package.json. 2018-01-23 14:52:29 -05:00
Jason Miller
29c6621fab Don't bother avoiding importing acorn-jsx (likely cause of [this failure](https://travis-ci.org/developit/karmatic/builds/332444062)) 2018-01-23 14:52:07 -05:00
Jason Miller
f25d9684e9
Merge pull request #51 from Andarist/safe-var-name-scoped-pkg
Support for scoped packages - remove scope from the name & remove it from dist location
2018-01-22 14:34:44 -05:00
Mateusz Burzyński
a1e05992ca Support for scoped packages - remove scope from the name & remove it from dist location 2018-01-20 22:08:09 +01:00
Sean Tymon
5d6aa826ff use const 2018-01-19 22:55:48 +00:00
Sean Tymon
2d90fc8caf resolve conflict 2018-01-19 21:49:05 +00:00
Sean Tymon
eaa687f7c7 more fixes 2018-01-19 21:47:53 +00:00
Sean Tymon
02f3da5352
Merge branch 'master' into feature/typescript 2018-01-19 21:34:38 +00:00
Sean Tymon
a1a61bf052 fixes 2018-01-19 21:32:50 +00:00
Jason Miller
8960114faf If defaults + named exports are detected, only export default and prune named. Enable pure properties for tree-shaking (since they're already enabled for uglify) 2018-01-14 13:37:15 -05:00
Jason Miller
2054b0ada0 Only extract & write out CSS files once. 2018-01-13 18:09:54 -05:00
Jason Miller
2dcd6698e3 Dedupe entries. 2018-01-13 18:09:24 -05:00