summaryrefslogtreecommitdiff
path: root/core/modules/loaders.rs
AgeCommit message (Collapse)Author
2023-06-25Reland "refactor(core): cleanup feature flags for js source inclusion" (#19519)Nayeem Rahman
Relands #19463. This time the `ExtensionFileSourceCode` enum is preserved, so this effectively just splits feature `include_js_for_snapshotting` into `exclude_js_sources` and `runtime_js_sources`, adds a `force_include_js_sources` option on `extension!()`, and unifies `ext::Init_ops_and_esm()` and `ext::init_ops()` into `ext::init()`.
2023-06-13chore(core): Split modules.rs into multiple files (no code changes) (#19486)Matt Mastracci
A simple refactoring to make it easier to understand. No code changes.