Skip to content

🎥 Make videos programmatically with React

woorks

Jonny Burger44fcd444f1bf
diff --git a/packages/cli/package.json b/packages/cli/package.json
index c04ad50a92..041c498e55 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -49,6 +49,7 @@
"@types/semver": "^7.3.4",
"@typescript-eslint/eslint-plugin": "5.18.0",
"@typescript-eslint/parser": "5.18.0",
+ "@remotion/tailwind": "workspace:*",
"eslint": "8.25.0",
"eslint-plugin-10x": "1.5.2",
"eslint-plugin-react": "7.29.4",
diff --git a/packages/example/package.json b/packages/example/package.json
index 944c9e3c9c..4e01124509 100644
--- a/packages/example/package.json
+++ b/packages/example/package.json
@@ -44,6 +44,7 @@
"@remotion/shapes": "workspace:*",
"@remotion/skia": "workspace:*",
"@remotion/three": "workspace:*",
+ "@remotion/tailwind": "workspace:*",
"@types/express": "^4.17.11",
"@types/node": "^16.7.5",
"@types/opentype.js": "^1.3.4",
@@ -65,7 +66,6 @@
"vitest": "0.24.3"
},
"devDependencies": {
- "@remotion/tailwind": "workspace:*",
"@types/babel__core": "^7.1.12",
"@types/babel__template": "^7.4.0",
"@typescript-eslint/eslint-plugin": "5.18.0",
diff --git a/packages/example/src/webpack-override.ts b/packages/example/src/webpack-override.ts
index 92c14f048a..efd5480c58 100644
--- a/packages/example/src/webpack-override.ts
+++ b/packages/example/src/webpack-override.ts
@@ -1,5 +1,5 @@
import {WebpackOverrideFn} from '@remotion/bundler';
-import { enableTailwind } from "@remotion/tailwind";
+import {enableTailwind} from '@remotion/tailwind';
import path from 'path';
type Bundler = 'webpack' | 'esbuild';
@@ -15,12 +15,12 @@ export const webpackOverride: WebpackOverrideFn = (currentConfiguration) => {
'example',
'node_modules',
'@remotion/babel-loader'
- ));
- return replaceLoadersWithBabel(currentConfiguration);
- }
-
- return currentConfiguration;
- })();
+ ));
+ return replaceLoadersWithBabel(currentConfiguration);
+ }
+
+ return currentConfiguration;
+ })();
return enableTailwind({
...replaced,
module: {
diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json
index 7f0fc10aa7..ba59eba9ae 100644
--- a/packages/tailwind/package.json
+++ b/packages/tailwind/package.json
@@ -1,6 +1,6 @@
{
"name": "@remotion/tailwind",
- "version": "3.3.87",
+ "version": "3.3.94",
"description": "Utilities for using tailwind css in Remotion",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2d5c371b88..b22067aec2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -138,6 +138,7 @@ importers:
'@remotion/media-utils': workspace:*
'@remotion/player': workspace:*
'@remotion/renderer': workspace:*
+ '@remotion/tailwind': workspace:*
'@types/minimist': ^1.2.2
'@types/node': ^16.7.5
'@types/prompts': ^2.4.1
@@ -179,6 +180,7 @@ importers:
source-map: 0.6.1
devDependencies:
'@jonny/eslint-config': 3.0.266_t54va6jeo5lf3vtqih5uiyrm5e
+ '@remotion/tailwind': link:../tailwind
'@types/minimist': 1.2.2
'@types/node': 16.10.2
'@types/prompts': 2.4.1
@@ -573,6 +575,7 @@ importers:
'@remotion/rive': link:../rive
'@remotion/shapes': link:../shapes
'@remotion/skia': link:../skia
+ '@remotion/tailwind': link:../tailwind
'@remotion/three': link:../three
'@types/express': 4.17.13
'@types/node': 16.10.2
@@ -594,7 +597,6 @@ importers:
use-asset: [email protected]
vitest: 0.24.3
devDependencies:
- '@remotion/tailwind': link:../tailwind
'@types/babel__core': 7.1.16
'@types/babel__template': 7.4.1
'@typescript-eslint/eslint-plugin': 5.18.0_sjor5xiixfpkviiagy75ykktdy