@remotion/browser-bundler 4.0.542 → 4.0.543
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.
|
@@ -1737,4 +1737,4 @@ require(${JSON.stringify(s)});
|
|
|
1737
1737
|
module.hot.accept(${JSON.stringify(s)}, () => {
|
|
1738
1738
|
require(${JSON.stringify(s)});
|
|
1739
1739
|
});
|
|
1740
|
-
`}:{},onProgress:(o)=>x_({type:"progress",...o}),configure:(o)=>({context:bo(r.rootDir),mode:"development",devtool:"inline-cheap-module-source-map",entry:{bundle:{asyncChunks:!1,import:n?[xd.entry,Y4]:[s]}},experiments:{buildHttp:{allowedUris:["https://esm.sh/",`${self.location.origin}/`],cacheLocation:!1,httpClient:G4({fetchImplementation:fetch})}},externals:Object.fromEntries([...BB,...n?["react-refresh/runtime"]:[]].map((f)=>[f,`commonjs ${f}`])),module:{rules:[{parser:{worker:!1},test:/\.[cm]?[jt]sx?$/},...n?[{exclude:[/node_modules/,/__remotion_browser_bundler__/],test:/\.[jt]sx?$/,use:[{loader:"builtin:react-refresh-loader"}]}]:[],{test:/\.[jt]sx?$/,use:[{loader:"builtin:swc-loader",options:{env:{targets:"Chrome >= 111"},jsc:{parser:{syntax:"typescript",tsx:!0},transform:{react:{development:n,refresh:n,runtime:"automatic"}}}}}]}]},optimization:{emitOnErrors:!n,runtimeChunk:!1,splitChunks:!1},output:{chunkFilename:"[name].js",chunkFormat:"array-push",chunkLoading:"jsonp",filename:"bundle.js",path:"/dist",publicPath:"",hashFunction:"xxhash64",uniqueName:"remotion-browser-bundler",...n?{hotUpdateGlobal:H4}:{}},plugins:[...n?[z4({rspack:o,refreshRuntime:xd.runtime,refreshUtils:xd.utils}),new o.HotModuleReplacementPlugin,V4({rspack:o,bridgeName:S_})]:[],W4({rspack:o,development:n,external:["react","react-dom","remotion",...n?["react-refresh"]:[]],resolvedUrls:{},resolvedVersions:{...{react:"19.3.1","react-dom":"19.3.1",remotion:"4.0.
|
|
1740
|
+
`}:{},onProgress:(o)=>x_({type:"progress",...o}),configure:(o)=>({context:bo(r.rootDir),mode:"development",devtool:"inline-cheap-module-source-map",entry:{bundle:{asyncChunks:!1,import:n?[xd.entry,Y4]:[s]}},experiments:{buildHttp:{allowedUris:["https://esm.sh/",`${self.location.origin}/`],cacheLocation:!1,httpClient:G4({fetchImplementation:fetch})}},externals:Object.fromEntries([...BB,...n?["react-refresh/runtime"]:[]].map((f)=>[f,`commonjs ${f}`])),module:{rules:[{parser:{worker:!1},test:/\.[cm]?[jt]sx?$/},...n?[{exclude:[/node_modules/,/__remotion_browser_bundler__/],test:/\.[jt]sx?$/,use:[{loader:"builtin:react-refresh-loader"}]}]:[],{test:/\.[jt]sx?$/,use:[{loader:"builtin:swc-loader",options:{env:{targets:"Chrome >= 111"},jsc:{parser:{syntax:"typescript",tsx:!0},transform:{react:{development:n,refresh:n,runtime:"automatic"}}}}}]}]},optimization:{emitOnErrors:!n,runtimeChunk:!1,splitChunks:!1},output:{chunkFilename:"[name].js",chunkFormat:"array-push",chunkLoading:"jsonp",filename:"bundle.js",path:"/dist",publicPath:"",hashFunction:"xxhash64",uniqueName:"remotion-browser-bundler",...n?{hotUpdateGlobal:H4}:{}},plugins:[...n?[z4({rspack:o,refreshRuntime:xd.runtime,refreshUtils:xd.utils}),new o.HotModuleReplacementPlugin,V4({rspack:o,bridgeName:S_})]:[],W4({rspack:o,development:n,external:["react","react-dom","remotion",...n?["react-refresh"]:[]],resolvedUrls:{},resolvedVersions:{...{react:"19.3.1","react-dom":"19.3.1",remotion:"4.0.543"},...t.dependencyVersions},resolvePackage:null}),new o.optimize.LimitChunkCountPlugin({maxChunks:1})],resolve:{extensions:[".tsx",".ts",".jsx",".js",".json"]}})}),E_=r;let i=await ba.compile(r);if(i.bundle===null)throw new Ed("Rspack compilation failed",i.errors);if(n&&(!i.hash||Ad===null))throw Error("Rspack did not return a Fast Refresh build hash.");x_({type:"bundle",id:t.id,bundle:{code:i.bundle,warnings:i.warnings,fastRefresh:n&&i.hash&&Ad!==null?{sessionId:Ad,hash:i.hash,previousHash:A_,assets:i.assets.filter((o)=>o.name.includes(".hot-update."))}:null}}),A_=i.hash??null}catch(r){x_({type:"error",id:t.id,error:q4(r)})}})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/browser-bundler",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.543",
|
|
4
4
|
"description": "Compile virtual Remotion projects in the browser",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@rspack/browser": "2.3.0",
|
|
28
28
|
"react-refresh": "0.18.0",
|
|
29
|
-
"remotion": "4.0.
|
|
29
|
+
"remotion": "4.0.543"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=18.0.0",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@rspack/plugin-react-refresh": "2.0.2",
|
|
55
55
|
"@happy-dom/global-registrator": "14.5.1",
|
|
56
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
57
|
-
"@remotion/player": "4.0.
|
|
56
|
+
"@remotion/eslint-config-internal": "4.0.543",
|
|
57
|
+
"@remotion/player": "4.0.543",
|
|
58
58
|
"@testing-library/react": "16.1.0",
|
|
59
59
|
"@types/react": "19.3.0",
|
|
60
60
|
"@types/react-dom": "19.3.0",
|