aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/with-rollup/packages/ui/rollup.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-rollup/packages/ui/rollup.config.js')
-rw-r--r--examples/with-rollup/packages/ui/rollup.config.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/with-rollup/packages/ui/rollup.config.js b/examples/with-rollup/packages/ui/rollup.config.js
new file mode 100644
index 0000000..851f95f
--- /dev/null
+++ b/examples/with-rollup/packages/ui/rollup.config.js
@@ -0,0 +1,10 @@
+import typescript from "@rollup/plugin-typescript";
+
+export default {
+ input: "index.tsx",
+ output: {
+ file: "dist/index.js",
+ format: "cjs",
+ },
+ plugins: [typescript()],
+};