154 Commits

Author SHA1 Message Date
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
Sean Tymon
af875d02e0 starting ts support 2017-12-13 19:22:48 +00:00
Jason Miller
5f3e988583
Merge pull request #13 from wcastand/master
Allow to use jsx
2017-12-13 10:25:53 -05:00
Jason Miller
086e10b62c
Merge pull request #10 from msfragala/umd-name-option
Clarify how to specify UMD export name
2017-12-13 09:57:12 -05:00
Jason Miller
735622e22a disable faulty export rewriting for now 2017-12-13 09:49:43 -05:00
wcastand
703b804efb add acorn-jsx as a dependency and allow nodent to handle jsx 2017-12-13 14:27:30 +01:00
Mitchell Gates
0fcbd49b34 Add name CLI option; document export names in README 2017-12-12 19:50:10 -05:00
Jason Miller
11ee0699fa Gracefully handle missing name field in package.json. Fixes #8. 2017-12-12 19:39:43 -05:00
Jason Miller
e8062290f3
lint fix 2017-12-12 12:03:10 -05:00
maciej-ka
2435913e5a feat: add rollup-plugin-flow 2017-12-12 17:39:30 +01:00
Jason Miller
9043f15be4 Fix output filename mapping for secondary entries. 2017-12-11 21:35:09 -05:00
Jason Miller
98980643c9 Fix typo that skipped marking peerDependencies as external 2017-12-11 21:33:16 -05:00
Jason Miller
93ac71b1c9 Fix build stats formatting 2017-12-11 21:32:52 -05:00