mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-05-20 15:55:00 +00:00
update beta ProxMenux 1.2.1.1-beta
This commit is contained in:
@@ -14,6 +14,15 @@ const nextConfig = {
|
||||
experimental: {
|
||||
esmExternals: 'loose',
|
||||
},
|
||||
// Strip every `console.*` call in production builds except `error` and
|
||||
// `warn` (we still want operators to see real errors in DevTools). Audit
|
||||
// residual: ~50 leftover `console.log("[v0] ...")` from the v0.dev
|
||||
// prototype were leaking object dumps to the browser console in production.
|
||||
compiler: {
|
||||
removeConsole: {
|
||||
exclude: ['error', 'warn'],
|
||||
},
|
||||
},
|
||||
webpack: (config, { isServer }) => {
|
||||
if (!isServer) {
|
||||
config.resolve.fallback = {
|
||||
|
||||
Reference in New Issue
Block a user