Commit Graph

28 Commits

Author SHA1 Message Date
Mihail Bodrov 1f954b4f12 Get rid typeof undef in all lib 2018-08-21 03:26:50 +03:00
Florent Cailhol 2a9452e51b Add brackets for multiline if/for statements 2018-05-29 15:45:44 +02:00
Florent Cailhol ed9d0246d5 Add typings for various library template plugins 2018-05-09 11:40:55 +02:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +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
Florent Cailhol 7dd41b55c6 Replace deprecated Tapable#apply by Plugin#apply 2017-12-20 11:53:56 +01:00
Florent Cailhol 36c690d37f Use tapable instead of 'plugin' 2017-12-08 14:23:31 +01:00
Tobias Koppers 00f2b5ede7 advanced module type refactoring
added json type
.mjs default to javascript/esm type
adjusted parser plugins to react on module type
2017-11-11 19:27:19 +01:00
Tobias Koppers f7c2f8e470 Update code style to arrow functions 2017-11-08 11:56:01 +01:00
Tobias Koppers de8fc51a6f allow to export any property/export of the bundle
fixes #3929
2017-06-02 14:52:41 +02:00
Lior Amsalem bedb438959 refactor libraryTemplatePlugin to es2015 class 2017-02-25 20:39:36 +02:00
Tobias Koppers 46e0bc76e0 removed special handling of commonjs-module libraryTarget
it does work by default because `__esModule` is automatically set inside of modules
2016-12-23 09:24:12 +01:00
Tobias Koppers 66edde657e added libraryTarget commonjs-module
for commonjs wrapped harmony modules via `__esModule`

fixes #2945
2016-09-08 22:26:43 +02:00
Larkin Family 86c5947904 Added tests and fixed spelling error causing initial tests to fail 2016-02-27 01:01:49 -06:00
Sean Larkin b607e97124 Adding auxiliary comments option for UMD wrapper 2016-02-26 14:25:53 -06:00
Espen Volden db21a79587 Add option `umdNamedDefine` to toggle naming 2015-08-26 11:50:42 +02:00
Tobias Koppers f7d799adb4 rebeautify without spacing after keyword 2015-07-16 00:19:23 +02:00
Avi Haiat 0a340f2b1a feat(app): Beautify all lib files 2015-07-13 01:20:09 +03:00
Tobias Koppers cebd3b9722 added linting 2015-04-23 23:55:50 +02:00
Tobias Koppers 738c1d3e68 support library with CommonsChunkPlugin
fixes #622
2014-12-22 16:10:23 +01:00
Jordan Klassen 562c446a73 add 'umd2' libraryTarget for optional amd dependancies as globals 2014-07-22 01:45:14 -07:00
Tobias Koppers 3247725ba3 refactored MainTemplate to plugin interface 2014-06-02 21:23:53 +02:00
Tobias Koppers 58424e0824 support "jsonp" in output.libraryTarget 2014-04-17 08:58:12 +02:00
Tobias Koppers 9e6b6deea4 support arrays and [name] in output.library
fixes #221
2014-04-05 18:10:47 +02:00
Tobias Koppers b7cd807041 add 'amd' library target
fixes #164
2014-02-11 08:54:12 +01:00
Tobias Koppers f8507717c1 added missing --output-jsonp-function, export multiple properties 2013-10-15 22:00:28 +02:00
Tobias Koppers b742264a4d add UMD, closed #71 2013-03-11 14:51:23 +01:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00