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(), ], })