66 Commits

Author SHA1 Message Date
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
Jason Miller
db0d414ea6
Merge pull request #68 from fwilkerson/feature/emit-bundle-events
Emit bundle events
2018-01-29 11:20:20 -05: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
Jason Miller
f5b61e74d9 Allow specification of Uglify's mangle option in the package.json, and use it to enable advanced property mangling. 2018-01-13 18:09:15 -05:00
Jason Miller
b58b9803b2 Fix error messages 2018-01-13 18:06:03 -05:00
kevlened
65dc28f5e5 Invert target option logic 2018-01-10 07:15:53 -08:00
kevlened
5f7f805d51 Add target environment option 2018-01-06 21:55:22 -08:00
Jason Miller
90d02e6990
Merge pull request #32 from lukeed/cli
Migrate CLI to Sade
2018-01-05 22:38:57 -05:00
Luke Edwards
1b315c79f3 k fine. 2017-12-24 21:06:17 -08:00
Luke Edwards
cabd4d1401 refactor/simplify run invoc;
- reorder build command
2017-12-24 21:03:44 -08:00
Luke Edwards
8b75589c24 add missing aliases 2017-12-24 20:54:24 -08:00
colinrtaylor
ff42a14921 fix typo 2017-12-20 15:22:33 -05:00
colinrtaylor
79a32e08b4 check options to inline all and use node resolver if so 2017-12-20 14:55:00 -05:00
Sean Tymon
1802e999db merge remote 2017-12-19 22:25:13 +00:00
Sean Tymon
419b3debfa output es6 for es format 2017-12-19 22:23:13 +00:00
Luke Edwards
903dda3c02 replace yargs with sade 2017-12-19 12:18:54 -08:00
Jason Miller
0ae9a58a7f
Merge branch 'master' into feature/typescript 2017-12-19 09:28:44 -05:00
Jason Miller
d3d709ab71
Merge pull request #30 from knipferrc/master
Add postcss and autoprefixer
2017-12-19 09:27:59 -05:00
Sean Tymon
80e6223a2d
Merge branch 'master' into feature/typescript 2017-12-18 20:07:44 +00:00
tknipfer
aa85696150 add postcss and autoprefixer 2017-12-18 07:36:07 -05:00
rtorr
72b5ce4acb Adding support for tag template strings 2017-12-17 12:24:01 -08:00
Mitchell Gates
c2256a8cb0 Use camelCase over PascalCase 2017-12-15 13:16:35 -05:00
Mitchell Gates
928079d181 Change default name from snake_case to PascalCase 2017-12-14 14:51:01 -05:00
Jeff Escalante
1a85bf1a10 change node resolve param to allow cjs modules, prefer mjs
by changing "modulesOnly" to just "modules", rollup will look for
an mjs module by default, but accept and bundle cjs if not
2017-12-14 11:27:22 -05:00
Pig Fang
15e2729f9a Fix glob on Windows 2017-12-14 17:37:51 +08:00