@remotion/tailwind-v4 4.0.423 → 4.0.425
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/enable.js +7 -3
- package/dist/cjs/index.js +1 -1
- package/package.json +7 -6
package/dist/cjs/enable.js
CHANGED
|
@@ -5,7 +5,7 @@ exports.enableTailwind = void 0;
|
|
|
5
5
|
* @description A function that modifies the default Webpack configuration to make the necessary changes to support Tailwind.
|
|
6
6
|
* @see [Documentation](https://www.remotion.dev/docs/tailwind-v4/enable-tailwind)
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
const enableTailwind = (currentConfiguration) => {
|
|
9
9
|
var _a;
|
|
10
10
|
return {
|
|
11
11
|
...currentConfiguration,
|
|
@@ -14,7 +14,10 @@ exports.enableTailwind = ((currentConfiguration) => {
|
|
|
14
14
|
rules: [
|
|
15
15
|
...(((_a = currentConfiguration.module) === null || _a === void 0 ? void 0 : _a.rules)
|
|
16
16
|
? currentConfiguration.module.rules
|
|
17
|
-
: []).filter((rule) => {
|
|
17
|
+
: []).filter((rule) => {
|
|
18
|
+
var _a;
|
|
19
|
+
return rule && rule !== '...' && !((_a = rule.test) === null || _a === void 0 ? void 0 : _a.toString().includes('.css'));
|
|
20
|
+
}),
|
|
18
21
|
{
|
|
19
22
|
test: /\.css$/i,
|
|
20
23
|
use: [
|
|
@@ -26,4 +29,5 @@ exports.enableTailwind = ((currentConfiguration) => {
|
|
|
26
29
|
],
|
|
27
30
|
},
|
|
28
31
|
};
|
|
29
|
-
}
|
|
32
|
+
};
|
|
33
|
+
exports.enableTailwind = enableTailwind;
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.enableTailwind = void 0;
|
|
4
|
-
|
|
4
|
+
const enable_1 = require("./enable");
|
|
5
5
|
Object.defineProperty(exports, "enableTailwind", { enumerable: true, get: function () { return enable_1.enableTailwind; } });
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/tailwind-v4"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/tailwind-v4",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.425",
|
|
7
7
|
"description": "Enable TailwindCSS support in Remotion (TailwindCSS v4)",
|
|
8
8
|
"main": "dist/cjs/index.js",
|
|
9
9
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"sideEffects": false,
|
|
12
12
|
"scripts": {
|
|
13
13
|
"lint": "eslint src",
|
|
14
|
-
"make": "
|
|
14
|
+
"make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
|
|
15
15
|
},
|
|
16
16
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
17
17
|
"contributors": [],
|
|
@@ -29,12 +29,13 @@
|
|
|
29
29
|
"@tailwindcss/postcss": "4.1.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@remotion/bundler": "4.0.
|
|
32
|
+
"@remotion/bundler": "4.0.425"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@remotion/bundler": "4.0.
|
|
36
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
37
|
-
"eslint": "9.19.0"
|
|
35
|
+
"@remotion/bundler": "4.0.425",
|
|
36
|
+
"@remotion/eslint-config-internal": "4.0.425",
|
|
37
|
+
"eslint": "9.19.0",
|
|
38
|
+
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
38
39
|
},
|
|
39
40
|
"keywords": [
|
|
40
41
|
"remotion",
|