diff --git a/packages/string-templates/rollup.config.js b/packages/string-templates/rollup.config.js index 78b5c6f035..e7aa2ced99 100644 --- a/packages/string-templates/rollup.config.js +++ b/packages/string-templates/rollup.config.js @@ -1,5 +1,6 @@ import commonjs from "@rollup/plugin-commonjs" import resolve from "rollup-plugin-node-resolve" +import json from "@rollup/plugin-json" import { terser } from "rollup-plugin-terser" import builtins from "rollup-plugin-node-builtins" import globals from "rollup-plugin-node-globals" @@ -24,6 +25,7 @@ const config = (format, outputFile) => ({ commonjs(), globals(), builtins(), + json(), injectProcessEnv({ NO_JS: process.env.NO_JS, }),