17 Commits

Author SHA1 Message Date
Frank Schmid c85d044f1f Do not let lodash parse module names as path elements 2017-10-11 01:51:19 +02:00
Frank Schmid 85b60bfde5 Use package-lock.json to install packages if there is one available. (#246)
* Use package-lock.json to install packages if there is one available.

* Pre-create composite package.json to use lock accordingly

* Fixed unit tests

* Increase coverage
2017-10-03 15:36:27 +02:00
Frank Schmid 68104f6aa5 Add and include peer dependencies (#231)
* Add and include 2nd level peer dependencies

* Only inspect peers for direct dependencies

* Added unit tests for peer dependencies
2017-09-21 11:58:53 +02:00
Frank Schmid 60680f4fd5 Added forceInclude setting to add dynamically required modules explicitly (#226)
* Added forceInclude setting to add dynamically required modules explicitly

* Added unit tests for forced includes

* Document forceInclude in README
2017-09-19 12:47:56 +02:00
Frank Schmid 29da13b305 Ignore irrelevant NPM problems when building the dependency graph 2017-09-07 13:42:50 +02:00
Frank Schmid 269609e731 Support transient dependencies when bundling (whitelisting) node modules 2017-08-09 18:12:59 +02:00
Matt Hodgson 8062264b4b Allow setting of maxBuffer for packing external modules (v3) (#185)
* Update packExternalModules.js

* Update package.json
2017-08-09 15:23:24 +02:00
Frank Schmid 017cb2060a Added unit tests for packExternalModules.js. Support scoped packages. 2017-08-05 12:38:59 +02:00
Frank Schmid 58ad27db5b Fix bug in package split in case of git packages 2017-08-01 22:00:55 +02:00
Frank Schmid 173785cbdb PR review: Return stats on early exit of packaging. 2017-08-01 22:00:54 +02:00
Frank Schmid c04b249fa1 Support individual packaging with multi-compile 2017-08-01 22:00:54 +02:00
Tony Yuen b4fa0a53fb support external-module-auto-packaging 2016-09-07 11:55:02 +08:00
Tony Yuen 6176dc4c62 rename serverless custom key, includePackages to webpackIncludeModules to avoid conflict with other plugin 2016-08-26 23:57:59 +08:00
Tony Yuen fdde5dc916 show which packages are going to be packed 2016-08-25 18:18:04 +08:00
Tony Yuen 09d98edcea use customKey includePackages to determines which packages should be packed 2016-08-25 18:00:31 +08:00
Tony Yuen 9dc0805c76 removed the debugging output 2016-08-25 16:52:59 +08:00
Tony Yuen 994bcec2ee pack external packages to distribution for deploy command and --out option 2016-08-25 16:41:51 +08:00