Commit Graph

637 Commits

Author SHA1 Message Date
alexander.akait c447b49c47 chore: update schemas 2023-04-07 03:11:52 +03:00
alexander.akait c7e2be9fca chore: update terser 2023-04-07 02:25:43 +03:00
long76 595e1cb5ba fix WebpackOptions.check.js 2023-03-25 14:06:56 +03:00
long76 c5ac0d39c4
Merge branch 'main' into patch-1 2023-03-25 13:53:20 +03:00
Sean Larkin 6e21e6e131
Update schemas/WebpackOptions.json
Co-authored-by: Nitin Kumar <snitin315@gmail.com>
2023-03-03 11:55:02 -08:00
Thomas Tay 13be78b0b8 lint fixes 2023-01-25 13:09:47 -08:00
Thomas Tay 7a1ccea945 change json schema description 2023-01-25 12:28:15 -08:00
long76 8c20d74992 replace globalObject to amdContainer, add tests 2023-01-02 16:32:11 +03:00
long76 d371a69e58 fix library options 2022-12-22 22:14:02 +03:00
Thomas Tay 895df2a5a1 Worker public path changes 2022-10-21 16:30:43 -07:00
Tobias Koppers 9fcaa24357
Merge pull request #15746 from jdanil/fix/experiments-css-override
fix: allow normalised experiments css value to be false
2022-07-26 12:27:29 +02:00
Ivan Kopeykin 767f7414cf fix webpack scheme 2022-07-21 19:16:24 +03:00
Ivan Kopeykin 1857792032 fix normalization 2022-07-09 03:23:21 +10:00
Ivan Kopeykin c82dc1eee4 Merge branch 'main' into support-create-require
# Conflicts:
#	declarations/WebpackOptions.d.ts
#	lib/config/defaults.js
#	schemas/WebpackOptions.check.js
#	schemas/WebpackOptions.json
#	test/Defaults.unittest.js
#	test/__snapshots__/Cli.basictest.js.snap
#	types.d.ts
2022-05-10 13:48:43 +03:00
Tobias Koppers e2df0ddd92
Merge pull request #15494 from webpack/feature/global-options-for-dynamic-import
add parser options for dynamic import
2022-05-10 12:44:52 +02:00
David Tanner 4f2adf9d02
Allow banner to be placed as a footer 2022-04-01 12:29:34 -06:00
Ivan Kopeykin ee911c6aae add createRequire javascript parser option 2022-03-28 17:16:31 +03:00
Ivan Kopeykin 5a9ead926a fix discussion 2022-03-15 16:47:07 +03:00
Ivan Kopeykin 62d50bad4b add parser options for dynamic import
- add dynamicImportMode for ContextModule
- add dynamicImportPrefetch for prefetch order
- add dynamicImportPreload for preload order
2022-03-09 10:27:02 +03: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