diff options
| author | 2022-03-19 00:12:55 -0700 | |
|---|---|---|
| committer | 2022-03-19 00:12:55 -0700 | |
| commit | 0134c14ebf7c930c771709a78b7b1cffb00aedf3 (patch) | |
| tree | 8c488193b8157c082788d78d412b72c0564a8f60 /src/options.zig | |
| parent | d87ea9c88a30938306052b25eddf7dd906f3cab9 (diff) | |
| download | bun-0134c14ebf7c930c771709a78b7b1cffb00aedf3.tar.gz bun-0134c14ebf7c930c771709a78b7b1cffb00aedf3.tar.zst bun-0134c14ebf7c930c771709a78b7b1cffb00aedf3.zip | |
Remove relative_nodejs import path format
Diffstat (limited to 'src/options.zig')
| -rw-r--r-- | src/options.zig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/options.zig b/src/options.zig index 90fda4186..8288d7ce3 100644 --- a/src/options.zig +++ b/src/options.zig @@ -1208,8 +1208,6 @@ pub const BundleOptions = struct { pub const ImportPathFormat = enum { relative, - // omit file extension for Node.js packages - relative_nodejs, absolute_url, // omit file extension absolute_path, @@ -1315,7 +1313,7 @@ pub const BundleOptions = struct { switch (opts.platform) { .node => { - opts.import_path_format = .relative_nodejs; + opts.import_path_format = .relative; opts.allow_runtime = false; }, .bun => { |
