summaryrefslogtreecommitdiff
path: root/runtime/Cargo.toml
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-07-05 05:17:53 -0700
committerGitHub <noreply@github.com>2024-07-05 17:47:53 +0530
commit233e5f6feae62e2ddc4d4046479759bd0a09b3aa (patch)
treec7879ebaa3e8d30748ff196c5e46ddb0909fd81e /runtime/Cargo.toml
parent08e5606c3400d3a993c0ce6748901c56fc3db35b (diff)
chore: rename `__runtime_js_source` to `hmr` (#24442)
Saves some keystrokes and easy to remember ``` cargo b --features hmr ```
Diffstat (limited to 'runtime/Cargo.toml')
-rw-r--r--runtime/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml
index ddbd7729c..b7dde51d8 100644
--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -22,7 +22,7 @@ include_js_files_for_snapshotting = [
]
# A dev feature to disable creations and loading of snapshots in favor of
# loading JS sources at runtime.
-__runtime_js_sources = ["include_js_files_for_snapshotting"]
+hmr = ["include_js_files_for_snapshotting"]
# Signal that only snapshotted JS sources should be used. This will
# conditionally exclude the runtime source transpilation logic, and add an
# assertion that a snapshot is provided.