@remotion/enable-scss 4.0.178 → 4.0.180

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/enable-scss"
4
4
  },
5
5
  "name": "@remotion/enable-scss",
6
- "version": "4.0.178",
6
+ "version": "4.0.180",
7
7
  "description": "Enable SCSS support in Remotion",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -21,10 +21,10 @@
21
21
  "sass-loader": "14.2.1"
22
22
  },
23
23
  "peerDependencies": {
24
- "@remotion/bundler": "4.0.178"
24
+ "@remotion/bundler": "4.0.180"
25
25
  },
26
26
  "devDependencies": {
27
- "@remotion/bundler": "4.0.178"
27
+ "@remotion/bundler": "4.0.180"
28
28
  },
29
29
  "keywords": [
30
30
  "remotion",
@@ -1,2 +0,0 @@
1
- import type { WebpackOverrideFn } from '@remotion/bundler';
2
- export declare const enableScss: WebpackOverrideFn;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.enableScss = void 0;
4
- const enableScss = (currentConfiguration) => {
5
- var _a;
6
- return {
7
- ...currentConfiguration,
8
- module: {
9
- ...currentConfiguration.module,
10
- rules: [
11
- ...(((_a = currentConfiguration.module) === null || _a === void 0 ? void 0 : _a.rules)
12
- ? currentConfiguration.module.rules
13
- : []),
14
- {
15
- test: /\.s[ac]ss$/i,
16
- use: [
17
- { loader: 'style-loader' },
18
- { loader: 'css-loader' },
19
- { loader: 'sass-loader', options: { sourceMap: true } },
20
- ],
21
- },
22
- ],
23
- },
24
- };
25
- };
26
- exports.enableScss = enableScss;