@remotion/enable-scss 4.0.166 → 4.0.168

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/enable-scss",
3
- "version": "4.0.166",
3
+ "version": "4.0.168",
4
4
  "description": "Webpack override for using SASS/SCSS in Remotion",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  "sass-loader": "14.2.1"
22
22
  },
23
23
  "peerDependencies": {
24
- "@remotion/bundler": "4.0.166"
24
+ "@remotion/bundler": "4.0.168"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@jonny/eslint-config": "3.0.281",
@@ -29,7 +29,7 @@
29
29
  "eslint": "8.56.0",
30
30
  "prettier": "3.2.5",
31
31
  "prettier-plugin-organize-imports": "3.2.4",
32
- "@remotion/bundler": "4.0.166"
32
+ "@remotion/bundler": "4.0.168"
33
33
  },
34
34
  "keywords": [
35
35
  "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;