fix vid
This commit is contained in:
@@ -7,6 +7,7 @@ const nextConfig = {
|
||||
images: {
|
||||
unoptimized: true
|
||||
},
|
||||
assetPrefix: process.env.NODE_ENV === 'production' ? '' : '',
|
||||
webpack(config, options) {
|
||||
// Add file-loader for .mp4 files
|
||||
config.module.rules.push({
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build && cp -r public/* out/",
|
||||
"build": "next build && cp -r public/* out/ && cp public/videos/*.mp4 out/videos/",
|
||||
"start": "next start",
|
||||
"lint": "next lint"
|
||||
},
|
||||
|
Reference in New Issue
Block a user