budibase/packages/string-templates/rollup.config.js

21 lines
468 B
JavaScript
Raw Normal View History

import commonjs from "rollup-plugin-commonjs"
import nodeResolve from "rollup-plugin-node-resolve"
import globals from "rollup-plugin-node-globals"
import builtins from "rollup-plugin-node-builtins"
export default {
input: "src/index.js",
output: {
file: "build/bundle.js",
format: "umd",
name: "string-templates",
},
external: ["fs"],
plugins: [
nodeResolve({ preferBuiltins: false }),
commonjs(),
globals(),
builtins(),
],
}