David Tanner
4f2adf9d02
Allow banner to be placed as a footer
2022-04-01 12:29:34 -06:00
Ivan Kopeykin
f51e099a2d
add parserOptions.importMetaContext option
2022-03-03 13:22:21 +03:00
Tobias Koppers
d77b8dd01e
Merge pull request #14857 from webpack/fix-14839
...
fix asset module hash
2022-02-28 12:42:35 +01:00
Aleen
f05009b698
support to specify the `buildHttp.proxy` for `HttpUrlPlugin`
2022-02-26 23:20:36 +08:00
Tobias Koppers
224964601d
improve hashing
2022-02-22 12:23:24 +01:00
Ivan Kopeykin
2665fb118c
add baseUri entry option
2022-02-21 16:23:47 +03:00
Ivan Kopeykin
c09e82fcfe
add importMeta to JavascriptParserOptions:
...
- enable/disable import.meta parsing
- when disabled insert output.importMetaName
2022-01-27 22:54:47 +03:00
pavelsavara
73bb43139d
- add new config section importMeta
...
- use it in ImportMetaPlugin to switch it off as necessary
2022-01-25 16:08:56 +01:00
Tobias Koppers
1489b91a98
allow to generate only exports for css in node
...
add more options to the DeterministicModuleIdsPlugin to allow to opt-in into a fixed mode
optimize module iterations for module id assignment
2022-01-19 15:17:01 +01:00
Tobias Koppers
e2bfe58994
nitpicks
2022-01-19 09:18:17 +01:00
Karlis Gangis
2fc4c8da1b
Add 'outputPath' configuration option for resource asset modules
2022-01-18 13:45:42 +02:00
Tobias Koppers
2f2991a967
Merge branch 'main' into support-cjs-static-named-exports
2022-01-10 14:38:57 +01:00
Tobias Koppers
102014bf54
fix target expression
...
fix externals
add test case
2022-01-10 14:33:34 +01:00
Jacob Smith
75c9912d38
add new `output.library.type` per Tobias's feedback
2021-12-18 20:17:50 +01:00
Tobias Koppers
16784692d3
add `output.cssChunkFilename`
2021-12-17 12:18:01 +01:00
Tobias Koppers
77b5589c1a
css generation and hmr
2021-12-03 08:46:22 +01:00
Tobias Koppers
e889c7bec5
Merge branch 'main' into improve-runtime-template
2021-11-26 08:46:49 +01:00
Tobias Koppers
a26b3f8a1d
fix pre-compiled schema validation for Infinity and arrays
...
show deprecation when pre-compiled schema is invalid
2021-11-24 08:34:55 +01:00
Ivan Kopeykin
1bdc48e32b
improve runtime template
...
- add optional chaining support check,
- add template string support check,
- use template string in asset generator
2021-11-21 21:18:11 +03:00
Tobias Koppers
9bb5651e6a
add `asyncChunks: boolean` option to disable creation of async chunks
2021-11-10 15:04:44 +01:00
Tobias Koppers
7afcc5d4ff
allow to disable some deprecations
...
add `experiments.backCompat: false` (default in `experiments.futureDefaults`)
remove unused `experiments.asset`
enable `experiments.topLevelAwait` and `experiments.asyncWebAssembly` by default in `experiments.futureDefaults`
2021-11-05 09:54:51 +01:00
Tobias Koppers
53fbc86887
Merge branch 'main' into mamolin/allow-ignore
2021-11-03 12:41:51 +01:00
Tobias Koppers
bd00f3d246
Merge branch 'main' into fix-host
2021-11-03 11:49:40 +01:00
Tobias Koppers
d9c592738a
refactor and add test cases
...
add `parser.exportPresence`, `parser.importExportPresence`, `parser.reeexportExportPresence` `"error" | "warn" | "auto" | false`
2021-11-02 18:29:47 +01:00
Tobias Koppers
e189971705
Merge branch 'main' into mamolin/allow-ignore
2021-11-02 13:46:25 +01:00
Tobias Koppers
6e50595cad
split chunks `chunks` filter also affects fallbackCacheGroup
...
add `splitChunks.fallbackCacheGroup.chunks`
2021-11-02 13:23:09 +01:00
Ivan Kopeykin
517429ff65
fix port
2021-10-30 19:45:33 +03:00
jamesgeorge007
bf17ed072e
chore: update option descriptions
2021-10-30 19:48:09 +05:30
Ivan Kopeykin
9073d8ebf1
fix listen options
2021-10-29 23:39:05 +03:00
Tobias Koppers
691e37b6f1
add missing descriptions to schema
2021-10-25 12:33:33 +02:00
Tobias Koppers
4a1d4e6dba
Merge branch 'main' into feat/lazy-compilation-backend-https-support
2021-10-25 12:18:53 +02:00
Tobias Koppers
ba154bc741
refactor and add test case
2021-10-25 12:12:52 +02:00
Tobias Koppers
3d3c65f50f
add splitChunks.minSizeReduction
2021-10-19 12:35:04 +02:00
Tobias Koppers
ae52a74802
improve buildHttp
...
allow multiple configurations to write to the same lockfile
add allowedUris for allowlisting
add schema validation
2021-10-19 09:21:05 +02:00
Tobias Koppers
5e16d642ad
allow RegExp as managed and immutable paths
...
add all node_modules as managedPaths in futureDefaults
2021-10-18 22:56:41 +02:00
Mark Molinaro
b422943d2a
Limit scope of changes to just HarmonyExportImportedSpecifierDependencies
2021-10-07 20:55:49 +00:00
Tobias Koppers
3b48429eb5
add MemCache for memory caching per module which is invalidated when module or any referenced modules changes
...
add `experiments.cacheUnaffected`
add `cache.cacheUnaffected` (type: memory) resp `cache.memoryCacheUnaffected` (type: filesystem)
2021-09-24 15:23:29 +02:00
Tobias Koppers
4a8bf4c084
allow to configure all hash functions used
...
fix default hash function for HttpUriPlugin to sha512
2021-09-23 14:55:13 +02:00
Chaz Gatian
537da95879
feat: add lazyCompilationBackend configuration
...
support customizing lazyCompilationBackend's port and server options
Fixes #14053 , Fixes #14205
2021-09-16 10:47:04 -04:00
Tobias Koppers
562f17a8c0
Merge pull request #14212 from webpack/fix-14210
...
add options to warn on using Node.js features
2021-09-14 14:03:05 +02:00
Ivan Kopeykin
5592f6616f
add experiments.futureDefaults
...
futureDefaults applies next major defaults
adds node.global=warn
node.__filename=warn-mock
node.__dirname=warn-mock
2021-09-14 11:29:57 +03:00
Ivan Kopeykin
8068923063
fix IgnorePlugin schema
2021-09-11 13:55:24 +03:00
Tobias Koppers
60408e1136
add importModule to loader context by default
...
always enable experiments.executeModule and remove it
2021-09-02 16:27:39 +02:00
chenxsan
ce7d9e572c
fix a typo
2021-08-07 11:39:51 +08:00
Tobias Koppers
b6609a4f6b
add `experiments.buildHttp`
...
allows to build remote resources
stores remote resources in a lockfile
2021-08-05 15:47:18 +02:00
Sven Sauleau
6c50c81350
Revert "Revert "Merge pull request #12278 from xtuc/sven/import-assertions""
...
This reverts commit 61946b7c46
.
2021-07-24 23:28:30 +01:00
Tobias Koppers
d3f8e16810
update webpack-sources for performance problem in hashing
...
add `stats.reasonsSpace` and `stats.groupReasonsByOrigin` to control large set of reasons
`detailed` preset limites all spaces to 1000 by default
fixes #13825
2021-07-20 13:29:25 +02:00
Tobias Koppers
61946b7c46
Revert "Merge pull request #12278 from xtuc/sven/import-assertions"
...
This reverts commit df02bc6c0a
, reversing
changes made to a6f341e243
.
2021-07-16 21:54:21 +02:00
Tobias Koppers
bb6c596272
improve schema and description
2021-07-16 13:17:49 +02:00
Sven Sauleau
b166f46f2c
parse import assertions
2021-07-16 13:14:54 +02:00