forked from masud90895/blut-blood-donation-campain-front-end
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
35 lines (34 loc) · 775 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
domains: [
"croptheme.com",
"i.ibb.co",
"drive.google.com",
"google.com",
"giphy.com",
"picsum.photos",
"images.unsplash.com",
"assets.website-files.com",
'demos.creative-tim.com',
'img.freepik.com'
],
},
webpack: (config) => {
config.module.rules.push({
test: /\.(mp4|webm)$/,
use: {
loader: "file-loader",
options: {
publicPath: "/_next",
outputPath: "static/videos/", // Change this output path as needed
name: "[name].[ext]",
esModule: false,
},
},
});
return config;
},
};
module.exports = nextConfig;