Tobias Koppers
ffb977fed4
refactor meta -> buildMeta, add factoryMeta
...
add compat layer to Module.meta
2017-12-12 16:57:50 +01:00
Tobias Koppers
77bd911b2d
fix conflict with type in ExternalModule
2017-11-10 11:51:29 +01:00
Tobias Koppers
41a1d602e1
added WebAssembly Proof of Concept
2017-11-10 09:17:11 +01:00
Tobias Koppers
0339d4da49
Refactor weird things
...
* Declare used properties in constructor
* Module.(re)building moved into Compilation._(re)buildingModules (Map)
* Make NormalModule.error private
* Move Module.cacheable logic into needRebuild
* More stable implemention of rebuildModule
* addModuleChain waits for Module building finished before returning
* Set built and cacheable flags correctly in Modules
* More portableId into WeakMap
* Add ModuleReason for entrypoints
* cacheable can be true/false/null in Stats
* added Stats module issuerPath
* fixes profile in stats output
2017-11-06 13:16:09 +01:00
Tobias Koppers
4c2f9e724b
Merge branch 'master' into next
...
# Conflicts:
# lib/dependencies/HarmonyExportImportedSpecifierDependency.js
2017-10-12 11:28:25 +02:00
Samuel Reed
c9bad176fd
Fix #5806 , TypeError on ExternalModule hash.update
...
undefined must be coerced to `false`
2017-10-11 14:02:46 -05:00
Tobias Koppers
65dfc15807
Merge branch 'master' into next
...
# Conflicts:
# test/statsCases/external/expected.txt
2017-09-22 19:52:31 +02:00
Thai Pangsakulyanont
79cf75a8b5
update ExternalModule hash with optional flag
2017-09-18 14:48:11 +07:00
Thai Pangsakulyanont
47d3b80b2e
add updateHash for ExternalModule
...
otherwise, changing the externalModule’s variable name (request) will not
affect the build hash
2017-09-17 23:29:06 +07: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
Matthew Meyer
8f26f9ebee
implementing review suggestions
2017-06-08 13:22:58 -07:00
Matthew Meyer
551c0a1ed9
PR Feedback, adding libIdent to DelegatedModules and ExternalModules, in addition to NormalModules, to support HashedModuleIdsPlugin to while assigning hash based IDs to Modules
2017-05-17 09:49:09 -07:00
J Huang
6afc397b99
perf: use Date.now() instead of new Date().getTime()
...
new Date().getTime() is 2x slower than Date.now(), see https://jsperf.com/new-date-vs-date-now-vs-performance-now/6
2017-05-04 10:19:54 +08:00
Tim Sebastian
3515fddb53
escape __WEBPACK_EXTERNAL_MODULE_ through Template.toIdentifier
2017-02-20 19:17:51 +11:00
Tim Sebastian
6367e312c8
use \n as line break
2017-02-20 19:15:52 +11:00
Tim Sebastian
b363611750
add more unit tests for external modules
2017-02-19 12:11:08 +11:00
Tim Sebastian
7421d47284
add unit tests for ExternalModule
2017-02-19 11:55:07 +11:00
Tim Sebastian
375e7d2399
refactor source method of ExternalModule
2017-02-19 00:06:23 +11:00
Tim Sebastian
8c435f58a6
refactor ExternalModule to esnext
2017-02-18 23:17:16 +11:00
e-cloud
13322ca35c
add missing constructors for all classes needed
...
As i walk through the source, i've tried to trace the webpack running stack.
Then, i find the missing constructors result in uncleasr stack and create a patch
for them.
2016-05-20 13:39:36 +08:00
Tobias Koppers
1b459d91f5
move externals into chunk with entry
...
fixes #2314
maybe fixes #2066
fixes #2375
fixes #1673
2016-05-05 10:13:50 +02:00
Tobias Koppers
ce642eced6
reverted module.e to module.exports
...
because it causes issues with modules that define
exports on the module object
2016-04-21 23:50:40 +02:00
Tobias Koppers
902220a0ea
smaller bundles by using module.e instead of module.exports
...
same for module.loaded and module.id
2016-02-13 13:11:34 +01:00
Tobias Koppers
ded70aef28
moves stuff from webpack-core to webpack-sources
2015-12-29 17:44:55 +01: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
Avi Haiat
5594eab317
feat(app): Improve eslint and jsbeautify
2015-07-08 15:16:50 +03:00
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Jordan Klassen
e044598a98
Update ExternalModule.js for umd2
2014-07-22 08:10:15 -07:00
Tobias Koppers
5104661855
optional externals
...
track optional modules
optional externals for UMD and root
fixes #339
2014-07-03 00:00:06 +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
973d81d871
more options for externals
2014-03-05 19:55:53 +01:00
Tobias Koppers
a7f9340885
added externals option
2014-03-05 09:58:51 +01:00