You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some videos work after the project is built, but this video(relax music) only plays in development mode: https://www.youtube.com/watch?v=Z2msUWb6iX4
I tried react-youtube. The same thing. It plays in development, but not after rebuilding
Same issue for me, I got: Unexpected Application Error! Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=object&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=object&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
here's my vite config :
{ minify: 'terser', // 'esbuild' by default, 'terser' is slower at build but better compression terserOptions: { compress: { // Terser options for compression drop_console: isProduction && !isPreview, // Remove all console statements (log, time..) drop_debugger: true, // Remove debugger statements passes: 3, // Run the compressor multiple times for better results reduce_funcs: true, // Inline single-use functions reduce_vars: true, // Inline single-use variables }, format: { // Terser options for formatting comments: false, // Remove comments wrap_iife: true, // Wrap immediate function invocations in parentheses }, mangle: { properties: { regex: /^_/, // Example: mangle properties starting with underscores }, }, ecma: 2020, module: true, toplevel: true, safari10: true, } }
Some videos work after the project is built, but this video(relax music) only plays in development mode:
https://www.youtube.com/watch?v=Z2msUWb6iX4
I tried react-youtube. The same thing. It plays in development, but not after rebuilding
Mozilla, GH
Linux Mint 21
The text was updated successfully, but these errors were encountered: