Commit Graph

75 Commits

Author SHA1 Message Date
Florent Cailhol 84c915b191 Add hook types for templates 2018-11-02 15:40:13 +01:00
Tobias Koppers a262b83580 remove globalPath and useChunkHash feature
It's no longer needed, because we hash the runtime how
2018-10-24 09:39:51 +02:00
Tobias Koppers 17044bf9c6 Merge tag 'v4.20.0' into next
4.20.0
2018-09-25 16:20:42 +02:00
Tobias Koppers d48975c948 use types from schema 2018-09-21 11:04:19 +02:00
Tobias Koppers bad9d8a271 move Module.id into ChunkGraph
remove disconnect and unseal from Module
2018-08-28 15:08:52 +02:00
Tobias Koppers c21d59f783 Merge tag 'v4.17.0' into next
4.17.0
2018-08-21 11:02:16 +02:00
Mihail Bodrov 1f954b4f12 Get rid typeof undef in all lib 2018-08-21 03:26:50 +03:00
Tobias Koppers 3cf01999b5 add ChunkGraph
move chunk modules and module chunks into the ChunkGraph
remove outdated unit tests
2018-08-14 15:32:13 +02:00
Tobias Koppers 11e127d162 pass moduleGraph along with multiple methods 2018-08-02 17:54:42 +02:00
Tobias Koppers ec1329a7d4 make libIdent required
add types
2018-08-02 16:29:20 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Tobias Koppers ad8f496745 arrow functions, remove or improve eslint-disable comments 2018-06-27 13:48:13 +02:00
Florent Cailhol 2a9452e51b Add brackets for multiline if/for statements 2018-05-29 15:45:44 +02:00
Tobias Koppers 91546a11ab fix incorrect default 2018-05-28 10:44:30 +02:00
Tobias Koppers 9c7100ba60 fix inline object types, add auxiliary comment types 2018-05-28 09:13:51 +02:00
Florent Cailhol ed9d0246d5 Add typings for various library template plugins 2018-05-09 11:40:55 +02:00
Florent Cailhol f1092ad516 Update prettier toolchain 2018-03-26 16:56:10 +02:00
Florent Cailhol 3983803d30 Destructure 'require' to improve readability 2018-03-22 12:05:58 +01:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Florent Cailhol d4811b0d37 Use for-of loops instead of forEach 2018-01-23 22:53:18 +01:00
Tobias Koppers d95f93f8cb add output.globalObject configuration option
remove deprecated atom and electron target
add self libraryTarget
add self external type
2017-12-27 18:46:37 +01:00
Sean Larkin 6554845d18 fix: failing tests, typo, and missing .tap fn 2017-12-15 23:46:41 -08:00
Sean Larkin 54178cbc19 add proper plugin names, rever ruleset change, reverse order of used function 2017-12-15 17:07:32 -08:00
Sean Larkin 18953ff743 fix(eslint): correct keyword after spacing rule for eslint) 2017-12-15 16:23:46 -08:00
Sean Larkin 5eee030cae fix(tapable): refactored calls to iterator and add some destructuring 2017-12-15 16:14:19 -08:00
Sean Larkin 25c135aa82 feat(tapable): upgrade other template plugins 2017-12-08 02:05:45 -08:00
Tobias Koppers e0549996d7 Merge branch 'next' into refactoring/plugin-system-all 2017-11-29 13:56:08 +01:00
Tobias Koppers 8b085121f5 Merge branch 'master' into next 2017-11-29 08:43:47 +01:00
Tobias Koppers 56328a7cab upgrate tapable in Templates 2017-11-28 18:43:01 +01:00
Tobias Koppers 77bd911b2d fix conflict with type in ExternalModule 2017-11-10 11:51:29 +01:00
Chris Joel 9a1034fa87 Fixes #5843 2017-10-18 12:48:52 -07:00
Tobias Koppers 03b0ff2c9c Merge branch 'master' into next 2017-10-11 12:42:31 +02:00
Minh Nguyen 2bedd6cffa Only use UMD or UMD2 externals for UMD libraryTarget. Resolve #5766 2017-10-10 13:22:58 +01:00
Tobias Koppers e5f4eb147a Merge branch 'master' into refactor/cleanups 2017-08-12 10:03:51 +02:00
Adam Thomann 15f4894ebe Convert bind(this) to arrow functions 2017-08-11 01:52:25 -04:00
Tobias Koppers 91bfd4559a move pathinfo comment into Template helper function
change toIdentifier to generate less underscores
2017-08-08 09:42:43 +02:00
Tobias Koppers 3e3b7489b4 Merge pull request #4883 from AndersDJohnson/library-target-umd-names-per-target
feat: library target UMD supports names per target
2017-06-21 22:51:27 +02:00
Tobias Koppers 9cd0cacd14 Merge branch 'master' into next 2017-06-03 16:36:38 +02:00
Richard Simko 0c985091ed Error if externals are missing instead of outputting undefined. webpack/webpack#4771 2017-06-02 17:20:05 +02:00
Anders D. Johnson 913b18b4bb
fix: update hashes for all library names 2017-05-29 15:28:40 -05:00
Anders D. Johnson 0ab7b1ae4d
feat: library target UMD supports names per target 2017-05-29 13:49:34 -05:00
Tobias Koppers 2bd2d2844c improve a few issues
from review by @Kovensky
2017-05-20 14:54:42 +02:00
Tobias Koppers e1bac32c19 Use a Set to store modules in a chunk 2017-05-16 11:50:50 +02:00
Tobias Koppers 1a766694dd fixes spacing and typo 2017-02-28 12:03:29 +01:00
Tobias Koppers 3fd3b47c62 formating 2017-02-28 11:41:06 +01:00
Will Mendes 7fff6baf8d Merge branch 'master' into refactor-umd-main-template-plugin 2017-02-26 11:29:57 +11:00
Will Mendes 07fa9a0fdb refactor(UmdMainTemplatePlugin): upgrade to ES6 2017-02-22 19:37:53 +11:00
Tim Sebastian 3515fddb53 escape __WEBPACK_EXTERNAL_MODULE_ through Template.toIdentifier 2017-02-20 19:17:51 +11:00
Kees Kluskens 644e3a009b Upgrade eslint (#3626)
* Upgrade eslint

* Pin down eslint version

* Temporary fix for difference between js-beautify and eslint

js-beautify suddenly requires a space between `while` here,
but everywhere else we use it without space.

* Remove redundant rules (present in eslint:recommended)

* Add rules comparable to js-beautify rules to eslint

* Add some forgotten files

* Ugh, fix some differences between eslint and js-beautify the nuclear way

* Add back variables
2016-12-29 10:10:41 -06:00
Tushar Sonawane 1e44775bb0 fix #2096
- matching the semi-colons to correct places for UMD builds
2016-10-29 21:14:38 +05:30