Nitin Kumar
412ae5425e
chore: udpate prettier to v3
2024-01-14 07:11:34 +05:30
alexander.akait
8273948d9d
chore: improve eslint configuration
2024-01-13 16:35:31 +03:00
Alexander Akait
b75845f71a
fix: keep `extends` in inner graph when class has constructor
2024-01-12 19:16:10 +03:00
ahabhgk
2715265126
wip
2024-01-12 15:57:52 +08:00
alexander.akait
9228d78eec
fix: types
2024-01-11 20:31:31 +03:00
alexander.akait
4152899d55
fix: don't optimize `extends` when class has constructor
2024-01-11 20:30:00 +03:00
alexander.akait
228b903a58
chore: update `assemblyscript`
2024-01-11 18:25:31 +03:00
alexander.akait
81bd9b4e00
fix: css runtime chunk loading error
2024-01-10 18:43:19 +03:00
Alexander Akait
21e5a16d40
fix: add `fetchPriority` to hmr runtime's `ensureChunk` function
2024-01-10 17:56:16 +03:00
Alexander Akait
f1b0bd5b55
feat: add the `node-module` option for the `node.__filename/__dirname` and enable it by default for ESM target
2024-01-10 14:56:27 +03:00
Evans Hauser
f1ad56feec
add fetchPriority to hmr runtime
2024-01-09 15:28:19 -08:00
Alexander Yamakin
ce6b0618ff
Merge branch 'main' into feature-14072
2024-01-09 02:59:32 +03:00
alexander.akait
f11815235d
fix: don't warn about dynamic import for build dependencies
2024-01-05 18:18:42 +03:00
Alexander Akait
228fc69f40
fix: external module generation respects the `output.environment.arrowFunction` option
2024-01-04 17:42:32 +03:00
Alexander Akait
39bbfbfbb1
feat: support for unmanaged paths
2024-01-04 16:07:29 +03:00
Alexander Akait
34c3fba92c
fix: consume shared runtime module logic
2024-01-04 16:05:31 +03:00
Alexander Akait
c1b45d5d80
fix: runtime logic
2024-01-04 15:47:05 +03:00
Alexander Akait
000ff0bc41
refactor: getRequiredVersionFromDescriptionFile in utils.js
2024-01-04 15:34:40 +03:00
versole
ca4f3235ba
fix: external module hard code arrow function
2024-01-02 11:27:18 +08:00
Alexander Akait
42fd09609a
fix: miss passing errors array for module hash
2023-12-29 19:57:29 +03:00
Alexander Akait
4d9152bed7
fix: destructing assignment of dynamic import json file
2023-12-29 19:50:46 +03:00
Alexander Akait
48a9eccea0
fix: `importScripts` typo
2023-12-29 19:44:30 +03:00
Alexander Akait
4d80333a6f
fix: add `/*#__PURE__*/` to generated JSON.parse()
2023-12-29 19:43:31 +03:00
Alexander Akait
f11d739a8d
fix: generate a library manifest file after clean
2023-12-29 19:31:24 +03:00
alexander.akait
57998941de
fix: generate library manifest after clean plugin
2023-12-29 18:17:27 +03:00
Alexander Akait
b6226aa5c5
fix: non amd externals break amd library
2023-12-28 21:03:07 +03:00
Alexander Akait
c7d1fe5329
fix: bug in `SideEffectsFlagPlugin` with namespace re-exports
2023-12-28 20:32:41 +03:00
Alexander Akait
e0d7e68f84
fix: error message for condition `or`
2023-12-28 20:29:52 +03:00
Alexander Akait
625aa9a1f5
fix: strictModuleErrorHandling is now working
2023-12-28 20:26:49 +03:00
Alexander Akait
89bc223821
refactor: minimize redundant `Template.toIdentifier` calls
2023-12-28 20:23:53 +03:00
Alexander Akait
e32ba51b31
fix: clean up child compilation chunk graph to avoid memory leak
2023-12-28 19:37:18 +03:00
Alexander Akait
762297ed8c
feat: expose `MultiCompilerOptions`
2023-12-28 19:35:53 +03:00
Alexander Akait
e311aedfbb
fix: typo in an error message for the top-level-await experiment
2023-12-28 17:54:19 +03:00
Alexander Akait
ea3d248c99
feat: expose `OptimizationStages`
2023-12-28 16:33:35 +03:00
Joe Boyle
ec80d13617
clean up modules as well
2023-12-07 21:45:04 -05:00
Joe Boyle
0f517fd125
Clean up child compilation chunk graph
...
This commit addresses https://github.com/webpack/webpack/issues/17851 ,
cleaning up child compilation chunk graph which includes references
to the compiler and parent compiler, causing a memory leak.
2023-12-06 23:08:05 -05:00
ahabhgk
b94741d870
fix: strictModuleErrorHandling not exist on output options
2023-12-04 19:52:44 +08:00
bohan
9d79d623ac
minimize redundant `Template.toIdentifier` calls
2023-10-31 18:01:25 +08:00
Sayan751
7d8799ac4b
added unmanagedPaths to snapshot options
2023-10-04 23:28:11 +02:00
Ben Worline
b14922c5be
Refactor shared code
2023-10-02 10:28:43 -07:00
Ben Worline
d4e8485462
initial
2023-09-30 22:13:01 -07:00
Sayan751
2972f97eb6
feat: support for un-managed snapshot path
2023-09-27 22:17:11 +02:00
ahabhgk
ffbaf20bca
fix: error message for condition or
2023-09-19 11:48:22 +08:00
Ronak Jain
23561c5ef5
Expose OptimizationStages
2023-09-12 08:47:22 +05:30
Ronak Jain
53b296849e
Add MultiCompilerOptions
2023-09-12 08:37:58 +05:30
Felipe Plets
02bddf66ac
chore: apply linting rules and improve docs
2023-09-09 13:40:18 -04:00
Felipe Plets
a6618bde3c
chore: refactor getRequiredVersionFromDescriptionFile in utils.js
2023-09-09 13:27:12 -04:00
Tan Li Hau
e5e66ef1bf
fix: miss passing errors array
2023-08-28 16:12:33 +08:00
Naru
2053d2d4a4
fix: add /*#__PURE__*/ to generated JSON.parse() call in JsonGenerator
2023-08-26 19:20:19 +09:00
Marcin Ciarka
f2bc0db07f
fix typo
2023-08-24 13:55:23 +03:00
Peter Goldberg
d22c6f3bf6
origin module must always be optimized first, even for unnamed re-exports
2023-08-21 00:41:23 -04:00
Peter Goldberg
47564af25a
tweak
2023-08-21 00:41:23 -04:00
Peter Goldberg
c0fde48909
fix bug in `SideEffectsFlagPlugin` with namespace re-exports
2023-08-21 00:41:22 -04:00
System233
b0defaed4a
fix lint
2023-08-02 13:46:39 +08:00
System233
d293083026
Fix: HMR setStatus() should not return an array.
2023-08-02 12:36:56 +08:00
ahabhgk
19028dcadc
fix: non amd externals
2023-07-06 20:33:30 +08:00
Diogo Peres
4e8f3f6075
fix importScripts typo
2023-07-03 10:57:21 +01:00
Burhanuddin Udaipurwala
a9cbd06ab4
fix: unusued identifiers should retain names
2023-07-02 11:03:03 +05:30
ahabhgk
182f913f9b
fix: destructing assignment of dynamic import json file
2023-06-23 15:19:15 +08:00
alexander.akait
158e0441e7
refactor(types): more
2023-06-22 04:08:40 +03:00
alexander.akait
3092f7cb20
refactor(types): more
2023-06-22 03:59:10 +03:00
alexander.akait
cc734af66e
refactor(types): more
2023-06-22 02:45:07 +03:00
Burhanuddin Udaipurwala
e90c26754c
docs: further improve docs
2023-06-21 21:39:01 +05:30
Burhanuddin Udaipurwala
7f75426ea2
docs: add example usage
2023-06-21 21:35:39 +05:30
alexander.akait
cff406cc54
refactor(types): more
2023-06-21 19:01:55 +03:00
alexander.akait
3f71468514
refactor(types): more
2023-06-21 19:01:55 +03:00
alexander.akait
d9d64b5198
refactor(types): more
2023-06-21 19:01:53 +03:00
alexander.akait
e226101c55
refactor(types): more
2023-06-21 19:00:24 +03:00
alexander.akait
a911bd9fa1
refactor(types): more
2023-06-21 19:00:24 +03:00
alexander.akait
e381884115
refactor(types): more
2023-06-21 19:00:24 +03:00
alexander.akait
4809421990
refactor(types): more
2023-06-21 19:00:24 +03:00
Burhanuddin Udaipurwala
5da3dc1102
docs: add documentation for stacked cache map
2023-06-21 21:27:19 +05:30
Sean Larkin
1ab7cad9a3
Merge pull request #17393 from ahabhgk/fix-async-module
...
fix: async module runtime for won't run top-level-await
2023-06-21 08:39:33 -07:00
Sean Larkin
43c1958ba7
Merge pull request #17395 from steverep/update-kaios-browser
...
fix: update environment support for KaiOS browser
2023-06-21 08:37:47 -07:00
Sean Larkin
76076f6f34
Merge pull request #17397 from webpack/issue-17390
...
fix: indirect call for tagged template expressions
2023-06-21 08:35:20 -07:00
Sean Larkin
da76b19bf4
Merge pull request #17399 from burhanuday/feat/auto-css-modes
...
feat: use css/auto as the default css mode
2023-06-21 08:32:24 -07:00
alexander.akait
5a49b861dc
fix: runtime for CSS loading
2023-06-21 12:43:08 +03:00
alexander.akait
f778bde634
fix: bug with css/auto
2023-06-20 23:40:47 +03:00
alexander.akait
694aee940d
test: prefer relative
2023-06-20 23:03:02 +03:00
Burhanuddin Udaipurwala
d2bc40cf73
feat: update regex to match valid css file names
2023-06-19 21:36:01 +05:30
Burhanuddin Udaipurwala
1d69cffbbe
refactor: rewrite defaults
2023-06-19 08:59:24 +05:30
Burhanuddin Udaipurwala
d06b22d9b4
feat: use css/auto as default css type
2023-06-18 21:51:48 +05:30
alexander.akait
75151416ca
fix: indirect call to tagged template expression
2023-06-17 22:54:17 +03:00
Steve Repsher
eb106afd8f
fix: update environment support for KaiOS browser
2023-06-17 00:18:08 -04:00
ahabhgk
148c136e07
fix: test
2023-06-16 23:04:57 +08:00
ahabhgk
c90f2b35f6
fix: forgot .d
2023-06-16 22:52:27 +08:00
ahabhgk
6e62cf40cf
fix: tla for await won't run
2023-06-16 20:39:13 +08:00
alexander.akait
bf28e94eac
test: update
2023-06-15 20:56:55 +03:00
alexander.akait
17211ffa4e
fix: require.context and layer
2023-06-15 19:48:55 +03:00
alexander.akait
5efc30a0b0
refactor: rebase
2023-06-14 19:47:52 +03:00
alexander.akait
fb93153a2e
test: fix
2023-06-14 19:46:55 +03:00
alexander.akait
0df63a1a25
test: fix
2023-06-14 19:46:55 +03:00
alexander.akait
9894226149
refactor(types): more
2023-06-14 19:46:53 +03:00
alexander.akait
568f28bb87
refactor(types): more
2023-06-14 19:45:51 +03:00
alexander.akait
27cae68bda
feat: allow to use `falsy` loaders and plugins
2023-06-14 18:25:31 +03:00
Sean Larkin
90ee0510b1
Merge pull request #17346 from burhanuday/feat/style-field-resolution
...
feat: resolve style fields in package json
2023-06-14 08:13:53 -07:00
Sean Larkin
d00f4025ca
Merge pull request #16577 from ahabhgk/type-css-auto
...
feat: 'css/auto' as a css module type
2023-06-14 08:10:05 -07:00
alexander.akait
0798a75f71
refactor: update comments
2023-06-13 23:48:58 +03:00
alexander.akait
5f56793ad7
test: more
2023-06-13 20:09:30 +03:00
alexander.akait
3c4c535dd0
test: more
2023-06-13 19:34:05 +03:00
alexander.akait
805b9b61d4
fix: prefer relative
2023-06-13 19:15:16 +03:00
alexander.akait
57318df065
test: more
2023-06-13 19:07:42 +03:00
alexander.akait
869e59d198
refactor: code
2023-06-13 00:32:42 +03:00
alexander.akait
0391116e8c
refactor: use runtime logic but only when needed
2023-06-13 00:17:53 +03:00
alexander.akait
572f269c63
fix: use `hasOwnProperty`
2023-06-12 21:56:08 +03:00
alexander.akait
aa27e75e6a
test: improve logic
2023-06-12 21:56:08 +03:00
alexander.akait
a49a5eaa51
fix: compatibility with prefetchOrder
2023-06-12 21:56:08 +03:00
alexander.akait
83090d2189
refactor: avoid boolean
2023-06-12 21:56:08 +03:00
alexander.akait
591d3f4bd4
refactor: fix types
2023-06-12 21:56:08 +03:00
alexander.akait
7176437d19
fix: logic
2023-06-12 21:56:08 +03:00
alexander.akait
236a2ae56e
fix: reduce size more
2023-06-12 21:55:53 +03:00
alexander.akait
5df2ba9f3b
test: more
2023-06-12 21:55:53 +03:00
alexander.akait
5be6af542d
fix: `false` value
2023-06-12 21:55:53 +03:00
alexander.akait
4649dc0025
fix: reduce runtime size
2023-06-12 21:55:53 +03:00
alexander.akait
a8e798150b
fix: import.meta.webpackContext
2023-06-12 21:55:53 +03:00
alexander.akait
fcbbacf730
refactor: logic
2023-06-12 21:55:52 +03:00
Andrew Boktor
f68ab55320
Adding option to set fetchPriority on script tags
2023-06-12 21:55:52 +03:00
Burhanuddin Udaipurwala
dcfa51869b
fix: resolver options
2023-06-12 19:27:38 +05:30
alexander.akait
9e02a70b74
test: more
2023-06-12 15:11:00 +03:00
ahabhgk
efeb6ed0d6
fix path
2023-06-11 21:33:10 +08:00
ahabhgk
d12ec509c9
correct comment
2023-06-10 23:19:39 +08:00
ahabhgk
d4b3185ede
feat: css/auto
2023-06-10 21:11:23 +08:00
Burhanuddin Udaipurwala
8234b14935
fix: move resolution to by dependency
2023-06-08 09:39:15 +05:30
Burhanuddin Udaipurwala
4db1194c3b
fix: dont resolve css field
2023-06-07 21:53:19 +05:30
Burhanuddin Udaipurwala
9e896d2b0b
feat: style field resolution
2023-06-07 20:53:54 +05:30
Sean Larkin
7c1cdda125
Merge pull request #17331 from webpack/issue-16415
...
fix: do not add `js` extension for eval source maps
2023-06-07 08:06:42 -07:00
YunfeiHe
03fd7dca11
feat: support passing `RegExp` to `splitChunks.chunks`
2023-06-06 11:33:34 +08:00
alexander.akait
aa27d49dca
fix: do not add `js` extension for eval source maps
2023-06-06 02:00:12 +03:00
Sean Larkin
5636399315
Merge pull request #17312 from webpack/feat-allow-to-use-default-handler
...
feat: export default handler creator for Progress plugin
2023-06-05 09:40:58 -07:00
Sean Larkin
30cf16c7b8
Merge pull request #17311 from webpack/types-more
...
refactor(types): more
2023-06-05 09:39:14 -07:00
Sean Larkin
f1ea815e8d
Merge pull request #17308 from webpack/issue-17306
...
fix: compatibility `__non_webpack_require__` with ES modules
2023-06-05 09:34:17 -07:00
Sean Larkin
9f837fc3e4
Merge pull request #17310 from huozhi/fix/dynamic-layer
...
Fix layer is missing in dynamic import with dynamic resource
2023-06-05 09:29:38 -07:00
Sean Larkin
d5397d83b5
Merge pull request #17301 from webpack/refactor-handle-json-errors
...
refactor: errors and lazy loading
2023-06-05 09:23:00 -07:00
Sean Larkin
c9f32bc037
Merge pull request #17282 from webpack/feat-improve-serialization
...
feat: improve serialization for errors and bigints
2023-06-05 09:19:07 -07:00
alexander.akait
a27db31048
refactor: types fix
2023-06-05 03:14:09 +03:00
alexander.akait
6550cb5c7f
feat: export default handler creator for Progress plugin
2023-06-05 03:06:45 +03:00
alexander.akait
ab47c696a4
refactor(types): more
2023-06-03 20:52:25 +03:00
Jiachi Liu
e2c80ea974
Fix layer is missing in dynamic import with dynamic resource
2023-06-03 15:38:37 +02:00
alexander.akait
ac2c8bec53
refactor: avoid using only runtime
2023-06-03 03:58:03 +03:00
alexander.akait
44ded0ab51
refactor: some code
2023-06-03 03:21:47 +03:00
alexander.akait
b18e4e822d
fix: respect `importMetaName`
2023-06-03 02:58:12 +03:00
alexander.akait
28f307021f
fix: small typo
2023-06-03 02:48:14 +03:00
alexander.akait
e3b1837442
fix: compatibility `__non_webpack_require__` with ES modules
2023-06-03 02:13:44 +03:00
Ben Worline
c8dc5fac9b
Handle barrel imports ( #17305 )
2023-06-02 15:16:53 -07:00
alexander.akait
e0c7b6c48f
refactor: errors and lazy loading
2023-06-01 22:55:49 +03:00
Alexander Akait
53c98f06ee
Merge pull request #17203 from bworline/ns
...
Normalize property accessors for es6 namespaces and chained member/call expressions
2023-05-31 21:39:09 +03:00
Alexander Akait
2a669ff061
Merge pull request #17212 from webpack/feat-support-custom-syntax
...
feat: introduce a new syntax for worklets - `*context.audioWorklet.addModule()`
2023-05-31 21:26:59 +03:00
Sean Larkin
16660c1bfa
Merge pull request #17272 from webpack/more-types
...
refactor(types): more
2023-05-31 10:50:30 -07:00
Ben Worline
77c4deb47e
Merge branch 'main' of https://github.com/webpack/webpack into ns
2023-05-31 10:15:14 -07:00
Ben Worline
5ab7e50503
handle null dep.idRangeStarts
2023-05-31 08:14:40 -07:00
alexander.akait
615af4a47b
feat: allow to setup dynamic import in worker
2023-05-31 18:00:08 +03:00
alexander.akait
65ee99d136
feat: support `environment` in loader context
2023-05-31 17:59:55 +03:00
alexander.akait
792ee7e516
refactor(types): more
2023-05-31 14:56:55 +00:00
Sean Larkin
e0cd9288a1
Merge pull request #17270 from burhanuday/refactor/use-runtime-globals
...
refactor: use global runtime constants for webpack exports
2023-05-31 07:53:21 -07:00
Sean Larkin
30c6df29fc
Merge pull request #17267 from webpack/strict-types-for-wasm
...
refactor(types): wasm and runtime
2023-05-31 07:52:42 -07:00
Sean Larkin
557ea853ef
Merge pull request #15470 from webpack/feat/add-readonly-cache-mode
...
feat: add readonly cache mode
2023-05-31 07:43:51 -07:00
Sean Larkin
c4174269e7
Merge pull request #17266 from webpack/fix-regression-with-module-type
...
fix(types): regression with unknown types
2023-05-31 07:39:55 -07:00
Ben Worline
9bb13a8be6
incorporate CR feedback
2023-05-30 23:06:15 -07:00
alexander.akait
a5e9568357
chore: docs update
2023-05-30 23:03:07 +03:00
alexander.akait
0ea2e99742
refactor: store some bigints as numbers
2023-05-30 22:33:06 +03:00
alexander.akait
11ed4abbb3
feat: less size for short bigint
2023-05-30 17:33:47 +03:00
alexander.akait
b1dac043b3
feat: support bigint serialization
2023-05-30 05:22:46 +03:00
alexander.akait
e90bd2021f
feat: support `cause` for errors in serialization
2023-05-30 00:40:54 +03:00
Ben Worline
9abdfecb5a
Merge branch 'main' of https://github.com/webpack/webpack into ns
2023-05-27 07:46:50 -07:00
Ben Worline
b834303d83
add more error handling and json import support
2023-05-26 12:04:57 -07:00
Burhanuddin Udaipurwala
f906f61557
chore: run yarn lint
2023-05-26 21:36:16 +05:30
Burhanuddin Udaipurwala
8bf6d59f35
refactor: refactor usages of module.loaded
2023-05-26 21:12:29 +05:30
Burhanuddin Udaipurwala
30f4da8f2d
refactor: refactor usage of module.id
2023-05-26 21:11:32 +05:30
Burhanuddin Udaipurwala
839e2bf6ad
refactor: use global runtime constants for webpack exports
2023-05-26 21:04:26 +05:30
alexander.akait
a0529bef76
refactor(types): fix
2023-05-26 01:21:31 +03:00
alexander.akait
a7c4ed7efa
refactor(types): fix
2023-05-26 01:18:45 +03:00
alexander.akait
3591783d9e
refactor(types): wasm and runtime
2023-05-26 01:18:44 +03:00
Sean Larkin
8eb9d8cf4a
Merge pull request #17262 from webpack/types-for-assets
...
refactor: types for assets and json modules plus plugins
2023-05-25 14:52:56 -07:00
Sean Larkin
7328ab824a
Merge pull request #17261 from webpack/types-more
...
refactor(types): more
2023-05-25 14:46:37 -07:00
alexander.akait
5c55c19c9b
fix(types): regression with mini-css-extract-plugin
2023-05-25 19:41:29 +03:00
alexander.akait
9d97d8981c
fix: handle more cases
2023-05-25 18:59:08 +03:00
alexander.akait
234fc91cd7
fix: regression in inner graph
2023-05-25 17:33:58 +03:00
Shipov Mikhail
c3b643aa79
feat: add readonly flag for filesystem cache
2023-05-25 03:28:39 +03:00
Ivan Kopeykin
b330c93e73
release pack promise
2023-05-25 03:28:37 +03:00
Shipov Mikhail
85a963a67b
feat: add readonly flag for filesystem cache
2023-05-25 03:28:35 +03:00
alexander.akait
60e5e13eb8
refactor: more types
2023-05-25 01:41:32 +03:00
alexander.akait
fb7c0c637a
refactor: strict types for assets and json and other
2023-05-25 01:09:00 +03:00
alexander.akait
620c8d5fa4
refactor: more types
2023-05-24 22:37:58 +03:00
Ben Worline
f3fcd696d4
Merge branch 'main' of https://github.com/webpack/webpack into ns
2023-05-24 08:39:45 -07:00
Sean Larkin
3e910299b9
Merge pull request #17252 from snitin315/feat/appen-sourcemap-fn
...
feat(SourceMapDevToolPlugin): support append option as a function
2023-05-24 07:29:45 -07:00
Sean Larkin
80284ceb5d
Merge pull request #17233 from webpack/fix-16763
...
fix: handle class name in properties and methods
2023-05-24 07:18:13 -07:00
Sean Larkin
4ca7c01e7e
Merge pull request #17247 from webpack/refactor-strict-types-for-config
...
refactor: `strict` for config
2023-05-24 07:17:37 -07:00
Sean Larkin
4a8035f2b5
Merge pull request #17228 from burhanuday/refactor/burhan-use-globals
...
refactor: use global constant for __webpack_require__ instead of string literal
2023-05-24 07:16:33 -07:00
Ben Worline
af6626981e
fix use of "at"
2023-05-24 06:12:10 -07:00
Nitin Kumar
e7ae10a4dc
feat(SourceMapDevToolPlugin): support `append` option as a function
2023-05-24 11:19:08 +05:30
Ben Worline
5b88a4865e
yarn type-lint
2023-05-23 22:24:20 -07:00
Ben Worline
a8bb2d73f8
Merge branch 'main' of https://github.com/webpack/webpack into ns
2023-05-23 20:22:06 -07:00
Ben Worline
7bdd6436ba
move comment
2023-05-23 20:03:49 -07:00
Ben Worline
afde59f5e9
add and handle another test case
2023-05-23 20:01:44 -07:00
Ben Worline
f041e8dc56
remove extra memberRangeStarts changes
2023-05-23 15:36:56 -07:00
Ben Worline
6f43ce3bfb
checkpoint
2023-05-23 15:29:25 -07:00
alexander.akait
84629bfc7e
refactor: fix type
2023-05-24 00:41:43 +03:00
alexander.akait
fca1703ee5
refactor: rebase
2023-05-24 00:35:55 +03:00
alexander.akait
4474dc4307
fix: inner graph
2023-05-24 00:29:08 +03:00
alexander.akait
d1c4e61022
fix: inner graph
2023-05-24 00:29:06 +03:00