Tobias Koppers
accd66c3ba
Merge pull request #9971 from smelukov/deprecation-codes
...
Add deprecation codes
2019-11-15 12:04:47 +01:00
Tobias Koppers
e9f8e63593
Make RestoreProvidedData a custom class for visibility in profiles
2019-11-14 20:58:05 +01:00
Sergey Melyukov
a214be41a0
add deprecation codes
2019-11-14 17:03:15 +03:00
Tobias Koppers
137363c5de
more space-efficient ReplaceSource serialization
2019-11-13 12:19:00 +01:00
Tobias Koppers
8aafff6600
Cut off long calback chains in the queue
2019-11-12 12:21:47 +01:00
Tobias Koppers
2d302db632
use setImmediate to start queue processing after I/O
2019-11-12 11:49:51 +01:00
Tobias Koppers
d7b9127e59
upgrade webpack-sources
...
use public methods for serialization
2019-11-12 09:40:23 +01:00
Tobias Koppers
b90f3e14a1
upgrade webpack-sources
...
make source maps and source names context independent
add enhanced-resolve declarations
add types to Module.build
fix tooling for import order to support import renaming
add support for concatenated modules in eval source maps
2019-11-12 08:59:08 +01:00
Tobias Koppers
14ee25cd0a
add support for tree-shaking JSON modules
2019-11-05 10:37:59 +01:00
Tobias Koppers
e8f2a8329d
avoid emitting files when they already exits in output filesystem
2019-11-04 09:23:18 +01:00
Tobias Koppers
4cc4b4010e
make LazySet serializable
2019-11-01 12:21:15 +01:00
Tobias Koppers
6b352c244a
make RequireIncludeDeprecationWarning serialize-able
2019-10-30 07:49:24 +01:00
Tobias Koppers
41d23461b8
flatten LazySet before merging to find duplicate inner Sets
2019-10-28 14:10:55 +01:00
Tobias Koppers
a1cfefe821
fix typescript regression
2019-10-22 11:04:48 +02:00
Tobias Koppers
6b9ec2adfa
Merge pull request #9801 from webpack/compat/avoid-dynamic-require
...
avoid a dynamic require in lib/util/serialization
2019-10-11 12:12:59 +02:00
Tobias Koppers
686725a6c3
avoid a dynamic require in lib/util/serialization
...
this allows ncc to upgrade
2019-10-11 10:01:08 +02:00
evilebottnawi
8764f14794
feat: improve DX with `output.ecmaVersion` option
2019-10-11 00:43:27 +03:00
Tobias Koppers
69a545c444
Deprecate MainTemplate, ChunkTemplate, ModuleTemplate
...
move logic and hooks to JavascriptModulesPlugin
2019-10-08 23:46:26 +02:00
Tobias Koppers
b80174a069
Improve backward-compat for various things
...
to enable mini-css-extract-plugin
2019-09-26 22:06:54 +02:00
Tobias Koppers
f7f408372f
Merge tag 'v4.41.0' into next
...
4.41.0
2019-09-26 21:41:52 +02:00
Tobias Koppers
6f1c685071
Improve performance of LimitChunkCountPlugin a lot
2019-09-24 16:32:20 +02:00
Tobias Koppers
ec518945f1
fix edge case in scope analysis
...
fix double declaration problem in variable declarations
remove TrackingSet
rename StackedSetMap to StackedMap and remove add method
add more scope analysis test
2019-09-05 13:34:16 +02:00
Tobias Koppers
d3cf3928f5
Persistent Caching fixes
...
improve error handling in pack file cache strategy
support context timestamp snapshot
make ContextModule serializable
fix snapshotting bug of managed paths
use managed and immutable path info for context hashes and timestamps
enabled managedPaths for node_modules during cache tests
2019-09-04 16:33:54 +02:00
Tobias Koppers
ab169893a1
refactor Parser to allow variable tagging
...
use variable tagging in harmony pluging (instead of magic renaming)
Parser no longer calls hooks.expression for x in `x = ...`, hooks.pattern is called instead
remove rootName argument from hooks.expressionMemberChain and hooks.callMemberChain
2019-09-03 14:17:46 +02:00
Tobias Koppers
2fc72052c4
Remove hashing from ClassSerializer as buildDeps take care of this now
2019-08-13 17:02:52 +02:00
Tobias Koppers
e5cecdad23
store build dependencies snapshot in pack
...
add snapshot shortcut for package manager managed paths
add cache.managedPaths
2019-08-13 17:02:37 +02:00
Tobias Koppers
ada11a286d
avoid memory leak in LazySet
2019-08-12 23:07:45 +02:00
Tobias Koppers
f236df1bc9
replace logging in persistent caching with infrastructure logger
...
remove cache.loglevel
2019-08-12 13:41:23 +02:00
Tobias Koppers
c21fb4bd58
Add LazySet for file/context/missingDependencies for performance
2019-08-07 16:13:56 +02:00
Tobias Koppers
ab8f0b9191
Use Set prototype for better deprecation performance
2019-07-26 13:46:24 +02:00
Tobias Koppers
8fc13d829c
cache hash digest for short data
2019-07-25 07:41:23 +02:00
Tobias Koppers
e2b1ab3258
adding some random types
2019-07-18 14:15:20 +02:00
Tobias Koppers
1d72a05fed
Merge tag 'v4.36.0' into next
...
4.36.0
2019-07-17 16:02:33 +02:00
Tobias Koppers
b3ec775453
improve merging of resolve and parsing options
...
by rules and via loader API
Arrays overwrite by default, but can reference old value with "..."
2019-07-17 13:08:51 +02:00
ikopeykin
bd7d95bfc1
#9391 resolve discussions, AbstractMethodError
2019-07-15 16:54:49 +03:00
ikopeykin
a223ffdcc0
fix typescript for HashContructor
2019-07-10 14:16:09 +03:00
ikopeykin
27b1e17f5b
createHash typescript
2019-07-10 14:06:36 +03:00
ikopeykin
a1aa5cbdce
enforce eslint check-tag-names to avoid using jsdoc tags that are not supported in Typescript
2019-07-10 00:38:18 +03:00
ikopeykin
30e747a55d
enforce eslint require-hyphen-before-param-description
2019-07-09 23:15:14 +03:00
Tobias Koppers
b2e7837288
replace Object.assign with object spread
2019-06-19 13:16:05 +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
6db94536ad
Merge tag 'v4.34.0' into next
...
4.34.0
2019-06-13 10:51:12 +02:00
Tobias Koppers
e9c0d068dd
refactor filesystem interfaces
...
add Compiler.intermediateFileSystem
avoid using `path` and `fs` module when possible
move `join`, `mkdirp` and `dirname` into utils
join and dirname is optional in FileSystem interface
remove mkdirp from Filesystem interface
2019-06-11 17:32:58 +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
c5f94f3b6a
don't emit and load JS files for chunks without JS modules
...
allow custom module types in rules
allow configCases to access stats
2019-05-22 13:12:15 +02:00
Tobias Koppers
f03c4f127a
improve merging of resolve and parsing options
...
by rules and via loader API
Objects are deeply merged
Arrays overwrite by default, but can reference old value with "..."
fixes #8968
2019-05-13 15:30:10 +02:00
Florent Cailhol
84f9842d54
Add missing types
2019-05-10 09:56:01 +02:00
Tobias Koppers
924daa105b
Use simpler/faster hash function to get a hash number
...
Use deterministic mangled names for exports
refactor assignDeterministicIds
rename __webpack_init__ function in wasm to ""
fix bug with incorrectly cached StaticExportsDependency
fix bug in hash logic of Module
2019-02-20 22:41:07 +01:00
Tobias Koppers
b25ff237bb
Prettify source code
2019-02-05 10:08:45 +01:00
Tobias Koppers
e9c6539645
change Serializer API to be not file serialization specific
2019-01-24 17:42:38 +01:00