From 2f1b6d007dc3b6243d3297155abf5584bb587c66 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 11 Dec 2024 11:52:34 +0100 Subject: [PATCH] Fix string-templates on dev --- packages/string-templates/rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/string-templates/rollup.config.js b/packages/string-templates/rollup.config.js index d06efc3539..cfe78aee57 100644 --- a/packages/string-templates/rollup.config.js +++ b/packages/string-templates/rollup.config.js @@ -32,7 +32,7 @@ const config = (input, outputFile, format) => ({ }), commonjs(), json(), - inject({ Buffer: ["buffer", "Buffer"] }), + inject({ Buffer: ["buffer", "Buffer"], process: "process/browser" }), production && terser(), ], })