Skip to content

🎥 Make videos programmatically with React

add side effect false to main packages

Jonny Burger33e6ceb02c28
diff --git a/packages/bundler/package.json b/packages/bundler/package.json
index 53387dfe51..ab45d70a38 100644
--- a/packages/bundler/package.json
+++ b/packages/bundler/package.json
@@ -3,6 +3,7 @@
"version": "2.0.1",
"description": "Bundler for Remotion",
"main": "dist/index.js",
+ "sideEffects": false,
"repository": {
"url": "https://github.com/JonnyBurger/remotion"
},
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 2bf90f4e90..0f50c70116 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -3,6 +3,7 @@
"version": "2.0.1",
"description": "CLI for Remotion",
"main": "dist/index.js",
+ "sideEffects": false,
"bin": {
"remotion": "dist/index.js"
},
diff --git a/packages/core/package.json b/packages/core/package.json
index 6790ce9add..f01d848b98 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -3,6 +3,7 @@
"version": "2.0.1",
"description": "Render videos in React",
"main": "dist/index.js",
+ "sideEffects": false,
"scripts": {
"test": "eslint src --ext ts,tsx && jest",
"build": "tsc -d",
diff --git a/packages/gif/package.json b/packages/gif/package.json
index 41839693db..562cab173f 100644
--- a/packages/gif/package.json
+++ b/packages/gif/package.json
@@ -2,6 +2,7 @@
"name": "@remotion/gif",
"version": "2.0.1",
"description": "Gif component for remotion",
+ "sideEffects": false,
"repository": {
"url": "https://github.com/JonnyBurger/remotion"
},
diff --git a/packages/media-utils/package.json b/packages/media-utils/package.json
index 16ebfd2e2e..c01962627c 100644
--- a/packages/media-utils/package.json
+++ b/packages/media-utils/package.json
@@ -3,6 +3,7 @@
"version": "2.0.1",
"description": "Utility functions for audio and video",
"main": "dist/index.js",
+ "sideEffects": false,
"scripts": {
"test": "eslint src --ext ts,tsx",
"watch": "tsc -w",
diff --git a/packages/renderer/package.json b/packages/renderer/package.json
index b63a75234d..fe85c62eaa 100644
--- a/packages/renderer/package.json
+++ b/packages/renderer/package.json
@@ -3,6 +3,7 @@
"version": "2.0.1",
"description": "Renderer for Remotion",
"main": "dist/index.js",
+ "sideEffects": false,
"scripts": {
"test": "eslint src --ext ts,tsx && jest",
"watch": "tsc -w",