aspect-build / aspect-build/rules_js

[FR]: support node compilation cache

Open
#2,938 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
378
Forks
183
Avg merge
1d 9h
Merged PRs (30d)
32

Description

Node has a [module compilation cache](https://nodejs.org/api/module.html#module-compile-cache) which gets run at runtime. Sometimes it may be worth creating the compilation artifacts and shipping them alongside or instead-of the .js for running bazel-built js binary artifacts.

Related: #2937

Contributor guide

Open the contributing guide

Research direction

Start with the Node module compilation cache documentation linked in the issue and review related issue #2937. Clarify whether Bazel-built JavaScript artifacts should ship compilation artifacts alongside the .js files or instead of them, and define the runtime and build integration needed for the feature. Done means the chosen artifact strategy is specified and supported for Bazel-built Node binaries.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.