aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js')
-rw-r--r--src/bun.js/module_loader.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/module_loader.zig b/src/bun.js/module_loader.zig
index 9ec142176..bfdb9462d 100644
--- a/src/bun.js/module_loader.zig
+++ b/src/bun.js/module_loader.zig
@@ -879,7 +879,7 @@ pub const ModuleLoader = struct {
const disable_transpilying = comptime flags.disableTranspiling();
switch (loader) {
- .js, .jsx, .ts, .tsx, .json, .toml => {
+ .js, .jsx, .ts, .tsx, .json, .toml, .text => {
jsc_vm.transpiled_count += 1;
jsc_vm.bundler.resetStore();
const hash = http.Watcher.getHash(path.text);