sokra
Repos
124
Followers
7870
Following
8

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

61881
8127

Documentation about css-modules

16329
535

Just a simple hacky visualisation of SourceMaps

525
62

Presentations

398
42

Events

pull request closed
give output file tracing a separate spinner

To separate it from "Collecting page data"

I moved the output file tracing block down a bit in the code, so the diff looks a bit bigger than it actually is

Created at 5 days ago
pull request closed
EcmaScript Modules for the client build

This add ESM support for the client build.

TODOs:

  • [ ] for testing purposes it's currently enabled by default -> disable it by default
  • [ ] experimental.esm: "client"
  • [ ] add tests

Feature

  • [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
  • [ ] Related issues linked using fixes #number
  • [ ] Integration tests added
  • [ ] Documentation added
  • [ ] Telemetry added. In case of a feature if it's used or not.
  • [ ] Errors have helpful link attached, see contributing.md

Documentation / Examples

  • [ ] Make sure the linting passes
Created at 5 days ago
pull request closed
transpile middleware utils to esm
  • move next/server/web to next/web
  • avoid transpiling to CommonJS for next/web files
  • fixes build issue on windows rm -> rimraf

That should help with Tree Shaking of these middleware imports

Bug

  • [ ] Related issues linked using fixes #number
  • [ ] Integration tests added
  • [ ] Errors have helpful link attached, see contributing.md
Created at 5 days ago
Created at 2 weeks ago

fix crash when compiler message occur

Created at 3 weeks ago

show significant percentage

more significant

run test cases interleaved to avoid per test case performance differences

move executable into temp directory

improve computation

fix crash

provide CARGO_BIN_EXE_* runtime env override to test cases

bugfixes

clear baselines before start

disable plotting

Created at 4 weeks ago

clear baselines before start

disable plotting

Created at 4 weeks ago
sokra create branch significant2
Created at 4 weeks ago
issue comment
Memory leak in `vm.compileFunction` when using `importModuleDynamically`

To make any progress on this I think the issue needs to be reproducible without the --expose-gc.

It is, --expose-gc is optional for the repro. You can also run it without (which will make number more unreliable, but the leak is still there).

Created at 1 month ago
issue comment
fetch response during server rendering

We should also check the env var for only doing that at build time, so it doesn't affect getServerSideProps

Created at 1 month ago
issue comment
fetch response during server rendering

@SukkaW good points, do you want to continue this PR? This was a random idea @ijjk and I had at 3am at the offsite meeting.

It could potentially improve the performance of quite a few users. Seems like it's quite common that getStaticProps for page instances shares some fetches. So this potentially improves build time quite a lot for these cases.

Created at 1 month ago
pull request opened
fetch response during server rendering

Bug

  • [ ] Related issues linked using fixes #number
  • [ ] Integration tests added
  • [ ] Errors have helpful link attached, see contributing.md

Feature

  • [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
  • [ ] Related issues linked using fixes #number
  • [ ] Integration tests added
  • [ ] Documentation added
  • [ ] Telemetry added. In case of a feature if it's used or not.
  • [ ] Errors have helpful link attached, see contributing.md

Documentation / Examples

  • [ ] Make sure the linting passes by running pnpm lint
  • [ ] The examples guidelines are followed from our contributing doc
Created at 1 month ago