Skip to content

🎥 Make videos programmatically with React

Remove unnecessary swc-loader

Jonny Burgeraf82f66e1300
diff --git a/packages/docs/docusaurus.config.js b/packages/docs/docusaurus.config.js
index e324dc9f8e..1a73060eb3 100644
--- a/packages/docs/docusaurus.config.js
+++ b/packages/docs/docusaurus.config.js
@@ -16,23 +16,6 @@ const config = (mode) => ({
future: {
experimental_faster: true,
},
- webpack: {
- jsLoader: (isServer) => ({
- loader: require.resolve('swc-loader'),
- options: {
- jsc: {
- parser: {
- syntax: 'typescript',
- tsx: true,
- },
- target: 'es2017',
- },
- module: {
- type: isServer ? 'commonjs' : 'es6',
- },
- },
- }),
- },
themeConfig: {
algolia: {
appId: 'PLSDUOL1CA',
diff --git a/packages/docs/package.json b/packages/docs/package.json
index 91e0201555..55e28bec92 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -84,7 +84,6 @@
"react-dom": "18.3.1",
"remark-shiki-twoslash": "^3.1.3",
"remotion": "workspace:*",
- "swc-loader": "^0.2.3",
"three": "0.158.0",
"uuid": "^8.3.2",
"vitest": "0.31.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b2976790c0..8d53fd4227 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -725,9 +725,6 @@ importers:
remotion:
specifier: workspace:*
version: link:../core
- swc-loader:
- specifier: ^0.2.3
- version: 0.2.3(@swc/[email protected])([email protected])
three:
specifier: 0.158.0
version: 0.158.0
@@ -27937,16 +27934,6 @@ packages:
picocolors: 1.1.0
dev: false
- resolution: {integrity: sha512-D1p6XXURfSPleZZA/Lipb3A8pZ17fP4NObZvFCDjK/OKljroqDpPmsBdTraWhVBqUNpcWBQY1imWdoPScRlQ7A==}
- peerDependencies:
- '@swc/core': ^1.2.147
- webpack: '>=2'
- dependencies:
- '@swc/core': 1.3.80
- webpack: 5.96.1(@swc/[email protected])
- dev: false
-
resolution: {integrity: sha512-9Zi9UP2YmDpgmQVbyOPJClY0dwf58JDyDMQ7uRc4krmc72twNI2fvlBWHLqVekBpPc7h5NJkGVT1zNDxFrqhvg==}
peerDependencies: