Nitin Kumar
285529a643
chore: fix typos across the project
2020-03-10 07:29:46 +05:30
Tobias Koppers
e18e72b294
remove Array.prototype.reduce calls to simplify code
2020-01-18 16:37:06 +01:00
Tobias Koppers
6ef9ea8f27
add two chars to numberToIdentifier
2019-12-06 11:12:07 +01:00
Tobias Koppers
0e2de3599b
generate arrow functions to wrap runtime modules
2019-11-28 17:33:59 +01:00
Tobias Koppers
65bdb43180
fix badly chosen max fill rate for deterministic
...
sort modules by identifier in output file, that's better for gzip
2019-10-16 16:38:04 +02:00
Tobias Koppers
80bc311d72
remove "use strict" from runtime things for bundle size reasons
2019-10-09 00:20:58 +02:00
Tobias Koppers
ddc3dae0e6
refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration
...
add code generation phase to Compilation
add `output.iife` options to remove iife wrapper
add `experiments.outputModule` which enabled `output.module`
add `output.module` which sets defaults to `output.iife: false`, `output.libraryTarget: "module"`, `output.jsonpScriptType: "module"`, `terserOptions.module: true`
add `output.module` example
improve runtime requirements needed by ConcatenatedModule
add entry inlining, which inlines entry module code into runtime scope (only when safe)
make whole bundle strict when all modules are strict
2019-10-08 23:59:48 +02:00
Tobias Koppers
9e7844bbfc
add "use strict" to all runtime modules
2019-10-08 23:46:35 +02:00
Tobias Koppers
69a545c444
Deprecate MainTemplate, ChunkTemplate, ModuleTemplate
...
move logic and hooks to JavascriptModulesPlugin
2019-10-08 23:46:26 +02:00
Tobias Koppers
f45ba2408e
remove items from runtime when unneeded
...
remove some hooks from MainTemplate, move some hooks to CompatRuntimeModule
add requireScope RuntimeGlobal
2019-10-08 23:46:23 +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
7bde43f47a
Merge tag 'v4.40.0' into next
...
4.40.0
2019-09-13 11:12:26 +02:00
Yuta Hiroto
8dcda23c36
feat(assetModule): add function type to assetModuleFilename
2019-07-21 23:05:12 +01:00
Tobias Koppers
cac462cba8
Merge pull request #8983 from hiroppy/feature/url
...
add experimental Url support
2019-07-17 23:32:15 +02:00
Tobias Koppers
4fa8addeec
Handle auxiliary files separately from normal files
2019-07-17 23:13:08 +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
fb45e38fa4
rename url -> asset
...
remove experimental in favor of experiments.asset
2019-07-17 11:57:04 +02:00
Yuta Hiroto
8788add912
fix(TemplatedPathPlugin): keep compatibility with `.[ext]`
...
[ext] has `.` but file-loader is specified `[hash].[ext]` as default.
2019-07-17 11:46:37 +02:00
ikopeykin
30e747a55d
enforce eslint require-hyphen-before-param-description
2019-07-09 23:15:14 +03:00
Adam Postma
ff8c37e887
correct spelling mistake, update identifer to identifier
2019-04-12 10:29:41 -06:00
Tobias Koppers
f2a61b7c5c
Avoid different comparators to sort only a single time
2019-01-24 15:14:37 +01:00
Tobias Koppers
1b402bcae1
Merge tag 'v4.28.0' into next
...
4.28.0
2018-12-19 14:05:17 +01:00
Tobias Koppers
8066eaf299
put runtime modules into separate place in chunks
...
don't include them in modules array/object
better stats output for runtime moduels
2018-11-29 16:23:31 +01:00
Tobias Koppers
62e01d3cae
add some random types
2018-09-18 09:54:35 +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
3aa2280498
move Module.hash and .renderedHash into ChunkGraph
2018-08-22 19:24:54 +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
11e127d162
pass moduleGraph along with multiple methods
2018-08-02 17:54:42 +02:00
Tobias Koppers
c9eb4c8e01
Merge tag 'v4.16.4' into next
...
4.16.4
2018-08-02 16:00:39 +02:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Florent Cailhol
3992ba3af6
Convert Template to ES6
2018-07-30 19:40:09 +02:00
Tobias Koppers
e02a0c9ecd
add types to Template
2018-07-25 13:56:40 +02:00
Tobias Koppers
8ae803ba13
type fixes
2018-06-25 10:09:39 +02:00
Sean Larkin
968edbf77d
fix(types): fix errors and linting errors
2018-06-21 14:38:17 +03:00
Tobias Koppers
3e778b85c7
fix minor type issues and linting
2018-06-20 12:04:53 +02:00
Mohsen Azimi
04d2af0825
Sean comments (even more code questions?)
2018-06-19 15:48:00 -07:00
Tobias Koppers
27d45e8236
Merge branch 'master' into bugfix/number-to-identifier
2018-05-29 20:42:51 +02:00
Tobias Koppers
cf8ae64f8a
fix incorrect substraction
2018-05-29 19:49:56 +02:00
Florent Cailhol
2a9452e51b
Add brackets for multiline if/for statements
2018-05-29 15:45:44 +02:00
Sean Larkin
a9c771a8ac
fix eslint error
2018-05-10 13:13:33 -07:00
Tobias Koppers
688b4fc028
Merge branch 'master' into feature/template-type-support
2018-05-09 10:03:10 +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
6a919ba8dd
chore(types): add type support for Template base class
2018-05-03 21:37:34 -07:00
Sean Larkin
c7f3c588e3
fix(): fix outstanding typewarnings from typeof in Template
2018-04-30 23:00:22 -05:00
Sean Larkin
0fcd5e5775
refactor(template): add type support to maint-template and template
2018-04-20 18:35:02 -06:00
Sean Larkin
5782d6b160
make 5th arg optional for renderChunkModules
2018-04-20 17:56:03 -06:00
Sean Larkin
86aa18d699
refactor(template): add type support for Template base class
2018-04-20 17:51:40 -06:00
Tobias Koppers
1b50e4e96d
Merge pull request #6833 from webpack/ellipsis
...
Use ellipsis instead of '...'
2018-03-29 11:00:28 +02:00