Tobias Speicher
8f56fcba72
Replace deprecated String.prototype.substr()
...
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-13 22:54:18 +01:00
Tobias Koppers
ed06a7f83a
new Worker() support
...
add support for async anonymous entrypoints from inside the codebase
add worker example
move entry options into Entrypoint and receive them from there
2020-09-08 07:37:20 +02:00
Tobias Koppers
5887c20ab0
Merge tag 'v5.0.0-beta.15' into dev-1
...
5.0.0-beta.15
2020-04-22 07:37:49 +02:00
Tobias Koppers
dc743d2197
ignore debug code
2020-04-17 11:52:08 +02:00
Tobias Koppers
1c630f1435
add OverridablesPlugin
2020-02-24 15:15:23 +01:00
Sergey Melyukov
a214be41a0
add deprecation codes
2019-11-14 17:03:15 +03: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
602bd5738a
Merge tag 'v4.39.2' into next
...
4.39.2
2019-08-13 21:47:00 +02:00
jamesgeorge007
af8906df11
fix: refactor
...
correct spelling
2019-08-09 23:36:23 +05:30
jamesgeorge007
936a0dc24a
fix: grammar
2019-08-09 23:27:28 +05:30
jamesgeorge007
e0089223a0
fix: tweaks within replaceChunk
2019-08-09 23:23:49 +05:30
jamesgeorge007
71055c8699
fix: typo within pushChunk
2019-08-09 23:22:26 +05:30
Tobias Koppers
126fb99121
move chunk graph building into separate file
...
refactor chunk graph generation to include available modules optimization
2019-07-26 07:53:28 +02:00
Tobias Koppers
956406e6a1
ChunkGroup parents and children don't need to be sorted
2019-07-25 07:41:24 +02:00
Tobias Koppers
e4ba79f0b8
add type coverage for ContextModuleOptions and GroupOptions
2019-06-14 11:44:54 +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
fd4b3c503a
pretty files
2019-06-09 11:23:42 +02:00
Tobias Koppers
1374757006
remove ModuleReason
...
remove HotUpdateChunkTemplate
move compareLocations into comparators
re-enable NodeSourcePlugin for `.mjs`
2018-12-20 16:38:26 +01:00
Florent Cailhol
63c9a87af0
Remove unused method from ChunkGroup
2018-11-07 16:17:05 +01:00
Florent Cailhol
de41d1fe8b
Add missing types on Chunk related classes
2018-11-07 14:10:57 +01:00
Florent Cailhol
d5636b32d2
Rename index/index2 to pre/postOrderIndices
...
Also remove useless TODO
2018-10-12 17:51:28 +02:00
Tobias Koppers
b4860ccebb
refactor chunk id plugins
2018-09-05 14:28:52 +02:00
Tobias Koppers
4a7a85ca84
rename index/index2 to pre/postOrderIndex
2018-09-04 09:27:25 +02:00
Tobias Koppers
604460da52
move iterable compare code to comparators
2018-08-28 15:10:30 +02:00
Tobias Koppers
670502fc81
Move AsyncDependenciesBlock.chunkGroup into ChunkGraph
2018-08-22 20:17:49 +02:00
Tobias Koppers
4135c6e683
remove some unnecessary moduleGraph arguments and property accesses
2018-08-22 12:45:14 +02:00
Tobias Koppers
4dfe88edb0
add moduleGraph argument to comparators
2018-08-21 11:08:07 +02:00
Tobias Koppers
6d5310fbd6
allow multiple entryModules per chunk
...
allow to specify ChunkGroup to depend on
move entry modules into ChunkGraph
2018-08-15 11:51:16 +02:00
Tobias Koppers
3cf01999b5
add ChunkGraph
...
move chunk modules and module chunks into the ChunkGraph
remove outdated unit tests
2018-08-14 15:32:13 +02:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Tobias Koppers
66d3f319a6
Merge tag 'v4.16.2' into next
...
4.16.2
2018-07-23 12:19:16 +02:00
Tobias Koppers
dbfea49e6f
fix case where non-object is passed to addOrigin
...
add typings to ensure that this doesn't happen again
2018-07-13 17:27:31 +02:00
Tobias Koppers
569c415623
Merge branch 'master' into enable-noImplicitThis
2018-07-11 08:43:26 +02:00
ferhat elmas
271b77d45f
all: typo fixes
2018-07-09 22:54:35 +02:00
Mohsen Azimi
a0e1ad920e
Enable noImplicitThis TypeScript compiler option
2018-07-05 08:07:46 +03:00
Tobias Koppers
0a06f19fd8
Merge tag 'v4.15.0' into next
...
4.15.0
2018-07-04 22:19:50 +02:00
Tobias Koppers
f0ae54d478
Merge tag 'v4.13.0' into next
...
4.13.0
2018-07-04 22:08:31 +02:00
Tobias Koppers
b06cca2371
Merge pull request #7626 from webpack/format/arrow-functions
...
arrow functions, remove or improve eslint-disable comments
2018-06-29 20:41:54 +02:00
Tobias Koppers
ad8f496745
arrow functions, remove or improve eslint-disable comments
2018-06-27 13:48:13 +02:00
Florent Cailhol
e763d87960
Remove useless checks on ChunkGroup
2018-06-27 11:40:24 +02:00
Tobias Koppers
0f587763e1
add per chunk index and index2
...
refactor index generation
2018-06-26 18:26:47 +02:00
Mohsen Azimi
4859c926ad
CR comments - remove TS syntax (one last type error)
2018-06-19 15:32:15 -07:00
Mohsen Azimi
1d39cce941
Type SortableSet
2018-06-06 08:11:30 -07:00
Nathan Shively-Sanders
c97107367a
Fix template tag syntax
...
In 2.9 and earlier, Typescript allowed braces around the name introduced
by the `@template` tag, even though this syntax is non-standard. In 3.0,
Typescript introduces a more complex `@template` syntax that uses braces
for specifying the constraint of a type parameter:
```js
/** @template {Constraint} T -- By analogy with param syntax:
* @param {T} name
*/
function f(name) { ... }
```
That means that the syntax `/** @template {T} */` is illegal. This PR
fixes the uses of the `@template` tag ahead of Typescript 3.0 as well as
typescript@next.
2018-06-04 14:22:20 -07:00
Florent Cailhol
2a9452e51b
Add brackets for multiline if/for statements
2018-05-29 15:45:44 +02:00
Tobias Koppers
f2ad440de8
More strict linting of jsdocs
...
Use TODO over any when type is possible
2018-05-08 14:53:33 +02:00
Sean Larkin
54f5a5a881
fix(types): remove whitespace
2018-05-05 22:48:44 -07:00
Sean Larkin
c50d86a517
# This is a combination of 4 commits.
...
# The first commit's message is:
chore(types): add type support for chunkgroup
# This is the 2nd commit message:
remove unneeded comments
# This is the 3rd commit message:
fix(types): add ModuleReason and some other missing parameters
# This is the 4th commit message:
fix(types): add removed usestrict
2018-05-02 13:57:04 -07:00
Tobias Koppers
8e2e19ba50
fix unstable sorting of ChunkGroups and add test
2018-04-17 09:36:26 +02:00
Tobias Koppers
17eb5b4700
rename priority to order
2018-04-16 18:00:34 +02:00