Load .env by default

This commit is contained in:
Jarred Sumner
2022-03-15 05:19:15 -07:00
parent 7083ef47bb
commit 79caba9506
2 changed files with 8 additions and 0 deletions

View File

@@ -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");