alexander.akait
500ee96dcb
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
5725254415
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
a592b62686
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
ab3e93b19e
style: fix
2024-06-11 16:09:50 +03:00
alexander.akait
417f53ee81
fix(types): watching and more
2024-03-13 21:23:33 +03:00
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
71d60fafb4
refactor(types): more
2023-05-21 22:08:25 +03:00
alexander.akait
8f6bdd4a3c
refactor: more ignore
2023-05-01 01:11:26 +03:00
Sean Larkin
fa4cbf11a1
add more module type constants, use them across codebase
2023-03-31 10:56:32 -07:00
Mark Molinaro
f63045c686
Pass all attributes of old tap with only overidden fn
2022-02-12 17:18:29 -08:00
Mark Molinaro
822c3b33cf
fix for older node verisons
2022-01-17 20:45:42 -08:00
Mark Molinaro
718bd9bc1e
Fix ProfilingPlugin for watch scenarios
2022-01-13 01:18:17 -08:00
Tobias Koppers
6a12794b11
check hooks for existance before using in ProfilingPlugin
2021-11-10 09:06:31 +01:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
e21b1d46fe
precompile schemas for improved startup performance
2021-04-16 16:02:58 +02:00
Tobias Koppers
5643e4b8a6
adjust timestamps when timestamp origin differ between process.hrtime and node.js inspector
2021-01-20 20:18:58 +01:00
evilebottnawi
8c19efb7fd
chore(deps): update `schema-utils`
2020-10-05 21:58:54 +03:00
Tobias Koppers
387dce100f
fix race condition in profiling plugin
2020-06-02 15:51:45 +02:00
Tobias Koppers
49752a06a8
cleanup asset processing
...
deprecate writing to compilation.assets after sealing.
merge all asset processing into single hook with stages.
Deprecate additionalChunkAssets and optimizeChunkAssets.
Redirect additionalAssets, optimizeAssets to processAssets for backward-compat.
Remove finishAssets hook without deprecation as it was not in v4.
2020-05-22 10:39:21 +02:00
evilebottnawi
8198ffb3e6
refactor: code
2019-10-22 00:14:05 +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
602bd5738a
Merge tag 'v4.39.2' into next
...
4.39.2
2019-08-13 21:47:00 +02:00
Tim Neutkens
069c33a033
Fix asyncHook callback interceptor for ProfilingPlugin
...
While writing a custom profiler I ran into the issue that TerserPlugin never called it’s `end` trace. Eventually I tracked it down to the callback function. Instead of being overwritten it was being appended to the end of the function arguments. The callback has to be popped first because the added argument is a wrapper for the original callback.
2019-08-12 20:39:33 +02:00
evilebottnawi
6a99b5316d
refactor: migrate on `schema-utils`
2019-08-07 18:10:40 +03:00
Tobias Koppers
1d72a05fed
Merge tag 'v4.36.0' into next
...
4.36.0
2019-07-17 16:02:33 +02:00
ikopeykin
f207cdcb15
remove valid jsdoc rule in favour of eslint-plugin-jsdoc
2019-07-16 19:41:30 +03:00
Tobias Koppers
955d5689a9
remove experimental from module type name
...
since there is the `experiments` config now
2019-07-15 15:03:29 +02:00
Tobias Koppers
e9c0d068dd
refactor filesystem interfaces
...
add Compiler.intermediateFileSystem
avoid using `path` and `fs` module when possible
move `join`, `mkdirp` and `dirname` into utils
join and dirname is optional in FileSystem interface
remove mkdirp from Filesystem interface
2019-06-11 17:32:58 +02:00
Tobias Koppers
76ac0f3451
fix typo
2019-06-05 11:41:34 +02:00
Tobias Koppers
de61023616
add side-by-side wasm support based on async modules
...
type: "webassembly/async-experimental"
remove i64 importing limitation since it will have BigInt integration eventually
update wasm example
2019-06-04 23:28:56 +02:00
Tobias Koppers
b241549d31
Merge tag 'v4.28.3' into next
...
4.28.3
2018-12-29 12:59:56 +01:00
Navi Marella
5b5f1d49b6
Made changes as requested
2018-12-28 08:21:17 -07:00
Navi Marella
eb960cc616
Fixed Profiling Output path for creating a folder, if it doesn't exists.
2018-12-27 16:02:43 -07:00
Tobias Koppers
9d91861592
Refactor HMR for runtime modules
...
fixed a few HMR bugs
allow other module types for HMR
made HMR more flexible
2018-11-29 16:22:29 +01:00
Tobias Koppers
17044bf9c6
Merge tag 'v4.20.0' into next
...
4.20.0
2018-09-25 16:20:42 +02:00
Tobias Koppers
1f6b92de3e
use declarations from schemas in plugins
2018-09-21 11:04:28 +02:00
Tobias Koppers
c9eb4c8e01
Merge tag 'v4.16.4' into next
...
4.16.4
2018-08-02 16:00:39 +02:00
Florent Cailhol
20406a4295
Update ESLint
2018-07-31 11:43:07 +02:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Tobias Koppers
3b6f475635
Use push null to end the stream
2018-07-05 10:32:53 +02:00
skratchdot
6705141ef6
prevent UnhandledPromiseRejectionWarning in node 6
...
Fixes #7654
2018-07-04 11:33:27 -04:00
Tobias Koppers
ad8f496745
arrow functions, remove or improve eslint-disable comments
2018-06-27 13:48:13 +02:00
Sam Saccone
735f99c01b
Fix race condition in profiling plugin.
...
Based on some digging in this git history for the profiling plugin it looks like this commit exacerbated the issue:
883088e
Note, we are calling end() and then writeStream right after we call flush on the trace object
64b514e9bd/lib/trace-event.ts (L123)
The trace object is only calling _push to the writable stream but in no way ensuring that all data that has been pushed has actually been written to the output stream sooo we find ourselves encounter 🐎 [race] conditions.
2018-06-23 11:27:18 -07:00
Mohsen Azimi
48a1e5166e
Update "chrome-trace-event" package and remove types
2018-06-05 20:38:48 -07: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
Tobias Koppers
5f0a99e93b
declare types for chrome-trace-event
2018-04-12 11:42:41 +02:00
Tobias Koppers
a4e8c07f09
fix jsdoc comments to make eslint happy
2018-04-12 11:42:40 +02:00
Mohsen Azimi
2adf5c2b0d
Better JSDocs for makeNewProfiledTapFn
2018-04-12 11:42:40 +02:00
Mohsen Azimi
2b66263b44
TS now understands module.exports assignments
...
https://github.com/Microsoft/TypeScript/pull/23228
2018-04-12 11:42:40 +02:00