mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
Load .env by default
This commit is contained in:
@@ -546,6 +546,7 @@ pub fn constructor(
|
||||
};
|
||||
|
||||
bundler.configureLinkerWithAutoJSX(false);
|
||||
bundler.options.env.behavior = .disable;
|
||||
bundler.configureDefines() catch |err| {
|
||||
if ((log.warnings + log.errors) > 0) {
|
||||
var out_exception = log.toJS(ctx.ptr(), getAllocator(ctx), "Failed to load define");
|
||||
|
||||
Reference in New Issue
Block a user