Tobias Koppers
b9c50fdb09
fix jsdoc documentations
2020-04-28 19:42:58 +02:00
Tobias Koppers
f1dd328779
refactor library system
2020-02-26 17:35:52 +01:00
Tobias Koppers
ddc3dae0e6
refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration
...
add code generation phase to Compilation
add `output.iife` options to remove iife wrapper
add `experiments.outputModule` which enabled `output.module`
add `output.module` which sets defaults to `output.iife: false`, `output.libraryTarget: "module"`, `output.jsonpScriptType: "module"`, `terserOptions.module: true`
add `output.module` example
improve runtime requirements needed by ConcatenatedModule
add entry inlining, which inlines entry module code into runtime scope (only when safe)
make whole bundle strict when all modules are strict
2019-10-08 23:59:48 +02:00
Tobias Koppers
53f68c9e7b
update deprecated usage of chunk and main templates
2019-10-08 23:46:33 +02:00
Tobias Koppers
ccc53dba5e
update deprecated usage in library-related plugins
2019-10-08 23:46:31 +02:00
Tobias Koppers
f45ba2408e
remove items from runtime when unneeded
...
remove some hooks from MainTemplate, move some hooks to CompatRuntimeModule
add requireScope RuntimeGlobal
2019-10-08 23:46:23 +02:00
Tobias Koppers
b66143f706
Merge tag 'v4.30.0' into next
...
4.30.0
2019-05-09 21:34:28 +02:00
Joel Denning
97d58d31c0
Adding support for output libraryTarget 'system'. Resolves #8833 .
...
Tests, prettier
Self review
Add comments to System tests.
Adding typescript definition
Guy Bedford's feedback
Self review
Improving code coverage
2019-03-17 08:46:17 -07:00
Tobias Koppers
518104b3fb
Merge tag 'v4.21.0' into next
...
4.21.0
2018-10-17 20:38:00 +02:00
Sergey Vershinin
8a939328f9
fix output for 'output.library: string[]' configuration
2018-10-01 22:31:26 +03:00
Eemeli Aro
c0a619abe3
Use a single options argument for AmdMainTemplatePlugin
2018-09-27 08:01:17 +03:00
Eemeli Aro
b624d167a5
Add "amd-require" libraryTarget, resulting in a require() wrapper
2018-09-26 21:46:16 +03: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
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
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02: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