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
Tobias Koppers
9380bd4c12
Bugfix/disable module in harmony ( #3755 )
...
* moved format location into separate file
allow dependencies to report errors too
* NullDependencies do not change the hash
* dependencies can opt-out from `__webpack_require__` param
* apply module syntax plugins earlier
* emit errors if using AMD or CommonJS syntax in harmony modules
2017-01-09 10:11:34 -06:00
timse
e6d3a40739
refactor Dependency.js to es6 ( #3696 )
...
* refactor Dependency.js to es6
2017-01-08 00:15:46 -06: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
Tobias Koppers
19eabc7bb6
track which exported are provided by the modules
...
star export is filtered by provided exports
fixes #2953
2016-09-05 23:41:03 +02:00
Tobias Koppers
2f618e733a
refactoring and aggressive-splitting plugin
2016-07-13 11:03:14 +02:00
Tobias Koppers
5903cc7b0b
refactor how critical warnings are reported
2016-06-24 01:51:52 +02:00
Tobias Koppers
6307ed72ac
Added experimental usage tracking of ES6 modules and example
2015-10-21 21:05:01 +02:00
Tobias Koppers
5acfacfdd6
replaced Class with constructor
2015-10-18 10:53:38 +02:00
Tobias Koppers
8f44bc3e7b
fixed a bug with incorrect ordering of index and index2
...
this caused incorrect order of rules in extracted css
expose index and index2 to the stats
2015-08-06 13:22:46 +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
8a6ac101ea
generate two indices, which representent global order
...
and use the first for sorting modules by default
2015-05-10 18:43:47 +02:00
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Tobias Koppers
ee01837d66
Refactored everything for 0.9
2013-01-30 18:49:25 +01:00