mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-07-02 22:16:54 +00:00
Create next.config.js
This commit is contained in:
parent
2e88bae448
commit
84263159cd
21
web/next.config.js
Normal file
21
web/next.config.js
Normal file
@ -0,0 +1,21 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: "export",
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
assetPrefix: "/ProxMenux/",
|
||||
basePath: "/ProxMenux",
|
||||
distDir: "out",
|
||||
webpack: (config, { isServer }) => {
|
||||
if (!isServer) {
|
||||
config.resolve.fallback = {
|
||||
...config.resolve.fallback,
|
||||
fs: false,
|
||||
}
|
||||
}
|
||||
return config
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
Loading…
x
Reference in New Issue
Block a user