Commit Graph

86 Commits

Author SHA1 Message Date
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
Mohsen Azimi 2295c837d0 Add ts-ignore comments with link to issue
https://github.com/Microsoft/TypeScript/issues/15647
2018-04-12 11:42:39 +02:00
Mohsen Azimi 5b236e53da More type fixes (these changes should be merged as separate PRs 2018-04-12 11:42:39 +02:00
Florent Cailhol 3983803d30 Destructure 'require' to improve readability 2018-03-22 12:05:58 +01:00
Tobias Koppers d061aba750 fix ProfilingPlugin 2018-03-20 10:11:30 +01:00
Bazyli Brzóska bd043f8e26 fix lint 2018-03-07 21:09:09 +01:00
Bazyli Brzóska cdeffb39b0 fix(ProfilingPlugin): only expose the end method of fsStream 2018-03-07 20:28:14 +01:00
Bazyli Brzóska 883088e521 fix(ProfilingPlugin): complete after the writeStream had finished flushing the data to the filesystem
Fixes a race-condition where `events.json` might not yet be available immediately after compilation.
2018-03-05 22:49:32 +01:00
Josh Soref 0a4308f1da spelling: ourself 2018-02-26 02:38:03 +00:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
EugeneHlushko f33cf76608 Improvement: add schema for profiling plugin options, remove todo item: add docs, rename option 2018-02-14 10:29:29 +02:00
EugeneHlushko 97cd2dde70 Improvement: add schema for profiling plugin options, remove todo item: abs path to false 2018-02-14 09:49:15 +02:00
EugeneHlushko fb4b275dc9 Improvement: add schema for profiling plugin options, remove todo item 2018-02-13 19:13:07 +02:00
Martin McKeaveney 1a2d9360b4
Update ProfilingPlugin.js 2018-01-30 22:06:23 +00:00
Martin McKeaveney 6225acefbe fixed error with importing JSON with ProfilingPlugin 2018-01-30 21:40:24 +00:00
Sam Saccone 88cdf4b6af Manually exclude internal tap of plugin.
This was forcing the timestamp of the last trace to be the last event
in the JSON trace, and thus breaking the CPU profile.

Instead manually exclude this plugin from being traced to avoid this
issue.
2018-01-29 16:03:46 -08:00
Sean Larkin d235a61412 feat(profiling): add profiling plugin 2018-01-18 19:02:27 -08:00