diff options
| author | 2022-01-02 03:57:27 -0800 | |
|---|---|---|
| committer | 2022-01-02 03:57:50 -0800 | |
| commit | 5c0908ee52deac54b8661897b08a19150f91c34d (patch) | |
| tree | 3cd7186d56c965c7464043d6a510b27a60f581a0 | |
| parent | 7f3384600550c65d38f6855e0fc8d919a624b31e (diff) | |
| download | bun-5c0908ee52deac54b8661897b08a19150f91c34d.tar.gz bun-5c0908ee52deac54b8661897b08a19150f91c34d.tar.zst bun-5c0908ee52deac54b8661897b08a19150f91c34d.zip | |
Update bundler.zig
| -rw-r--r-- | src/bundler.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bundler.zig b/src/bundler.zig index a8f8a23ca..5afd25d6a 100644 --- a/src/bundler.zig +++ b/src/bundler.zig @@ -313,6 +313,7 @@ pub const Bundler = struct { js_ast.Expr.Data.Store.create(this.allocator); js_ast.Stmt.Data.Store.create(this.allocator); + defer js_ast.Expr.Data.Store.reset(); defer js_ast.Stmt.Data.Store.reset(); @@ -2443,8 +2444,8 @@ pub const Bundler = struct { bundler.log, ); css_writer.buildCtx = build_ctx; - var did_warn = false; - try css_writer.run(bundler.log, bundler.allocator, &did_warn); + + try css_writer.run(bundler.log, bundler.allocator); output_file.size = css_writer.written; var file_op = options.OutputFile.FileOperation.fromFile(file.handle, file_path.pretty); |
