evilebottnawi
a6a9ce3a74
chore: setup cspell
2020-03-13 14:09:14 +03:00
Tobias Koppers
b4993f1ccc
Merge pull request #10503 from joeldenning/system-esmodule
...
Fix externals interop within SystemLibraryPlugin.
2020-03-10 15:38:38 +01:00
Tobias Koppers
c94aea82cc
enable export mangling for system.js externals
...
add __esModule flag only when needed
2020-03-05 14:07:55 +01:00
evilebottnawi
93dd2b0cfb
chore(deps): update eslint plugins
2020-03-04 12:37:14 +03:00
Tobias Koppers
14ee25cd0a
add support for tree-shaking JSON modules
2019-11-05 10:37:59 +01:00
Tobias Koppers
09d182132a
rename reference exports constants
2019-10-30 07:57:55 +01:00
Tobias Koppers
8696017c55
add Dependency.getReferencedExports
...
remove Dependency.getReference
remove DependencyReference
2019-10-30 07:48:37 +01:00
Tobias Koppers
8d46b21fad
add Dependency.getCondition and conditional ModuleGraphConnections
...
getDependencyReference is no longer used to check of connection
2019-10-30 07:48:32 +01:00
Tobias Koppers
09d6301712
Move weak flag from DependencyReference to Dependency
2019-10-30 07:48:26 +01:00
Tobias Koppers
1d72a05fed
Merge tag 'v4.36.0' into next
...
4.36.0
2019-07-17 16:02:33 +02:00
Tobias Koppers
0505e177f1
add more types and fix/remove TODOs
...
change Chunk.files to Set
remove checkContext from IgnorePlugin
remove external flag from ExternalModule
2019-06-14 10:45:56 +02:00
Tobias Koppers
ab280135b1
add canMangle flag to getExports
2019-06-12 14:33:29 +02:00
Tobias Koppers
1b685d1de8
change DependencyReference.importedNames to be always an string[][]
2019-05-29 11:55:07 +02:00
Tobias Koppers
43bc7a306e
Refactor to track nested exports
...
Harmony dependencies track access to nested properties
Flag nested exports
2019-05-29 11:55:00 +02:00
Tobias Koppers
faefdc0bed
expose exports in LibManifestPlugin
...
use StaticExportsDependency in DelegatedModule
2018-12-31 12:28:55 +01:00
Tobias Koppers
a852828279
add persistent caching prototype
2018-10-17 21:25:39 +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
02b15a1b46
pass chunkGraph to updateHash instead of moduleGraph
...
pass chunkGraph to compareModulesById instead of moduleGraph
pass chunkGraph to methods of RuntimeTemplate
use comparators from module at some places
2018-08-28 12:06:53 +02:00
Tobias Koppers
381e2db200
replace Module.reasons and Dependency.module with ModuleGraph
2018-08-02 17:54:44 +02:00
Tobias Koppers
11e127d162
pass moduleGraph along with multiple methods
2018-08-02 17:54:42 +02:00
Tobias Koppers
78f01763a2
add getNumberofIdOccurrences to Dependency as override-able method
2018-08-02 16:07:29 +02:00
Tobias Koppers
f5a457ffd4
add ExportsSpec type to getExports
2018-08-02 16:04:10 +02:00
Tobias Koppers
f68c1f7ab6
add additional arguments to updateHash
2018-08-02 16:04:10 +02:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Florent Cailhol
60ef6a6a30
Make DependencyReference dynamic
2018-07-26 15:31:04 +02:00
Tobias Koppers
eba85a491d
add types to Dependency and subclasses
2018-07-25 09:33:48 +02:00
Tobias Koppers
fcf3f63f0e
add DependencyTemplate base class and inherit types from this
...
fix a few typing issues
2018-07-23 20:11:59 +02:00
Florent Cailhol
fe29426200
Remove Dependency.compare
2018-07-14 22:36:02 +02:00
Florent Cailhol
445c2c889c
No longer accept strings in compareLocations
2018-07-14 22:35:43 +02:00
Tobias Koppers
e0abce0dd8
make DependencyTemplates a new class
2018-07-11 13:11:08 +02:00
Tobias Koppers
b93225a6a1
add types and fix incorrect loc type
...
fix formatLocation for types
2018-07-10 18:18:32 +02:00
Florent Cailhol
5c8983f31f
Deprecate Dependency.compare
2018-07-09 08:49:01 +02:00
Tobias Koppers
c774f030f1
merge DependencyLocation and disallow string locations
2018-06-25 10:44:34 +02:00
Sean Larkin
f62a443adf
Merge branch 'master' into feature/type-compiler-compilation-save
2018-06-23 14:05:41 +03:00
Tobias Koppers
2bc5437093
Merge pull request #7532 from Legends/CommentCompilationWarning
...
CommentCompilationWarning typings
2018-06-23 13:03:37 +02:00
Legends
afdbf71ccb
removing typedef exports
2018-06-21 20:58:54 +02:00
Legends
7969a5a525
Importing typedef from Dependency.js ??? Please review.
2018-06-21 17:36:12 +02:00
Sean Larkin
c3ebef7f25
Merge branch 'master' into feature/type-compiler-compilation-save
2018-06-21 11:07:33 +03:00
Tobias Koppers
01b02e6e49
add webpack 5 comments
2018-06-08 13:21:06 +02:00
Tobias Koppers
3072378892
bugfixes and corrections
2018-05-15 15:04:40 +02:00
Sean Larkin
761d73b4e7
chore(types): add Compiler and Compilation type support
2018-05-15 15:04:38 +02:00
Florent Cailhol
8570165c1f
Use a class for dependency references
2018-04-04 09:17:10 +02:00
Mohsen Azimi
9309e85f0f
Initialize loc member in Dependency
2018-03-27 22:27:05 -07:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Tobias Koppers
93171b9795
replace isEqualResource with more performance implementation
2017-11-19 00:22:38 +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
794b883f0a
Merge branch 'next' into deprecation/webpack-3
2017-09-22 14:30:04 +02:00
Tobias Koppers
4c81b9a017
move weak into getReference
2017-08-08 09:43:33 +02:00
Tobias Koppers
9bb99154dc
remove Dependency.compare
2017-06-14 14:59:19 +02:00
e-cloud
59e5de59d7
refactor: remove unused code
...
includes unused variables, class method, class static properties and
function arguments
2017-04-11 19:39:24 +08:00