fix: resolve yaml syntax error in deploy.yml and invalid next.config
This commit is contained in:
@@ -46,12 +46,6 @@ const nextConfig = {
|
|||||||
env: {
|
env: {
|
||||||
NEXT_PUBLIC_APP_VERSION: process.env.NEXT_PUBLIC_APP_VERSION || process.env.npm_package_version || 'dev',
|
NEXT_PUBLIC_APP_VERSION: process.env.NEXT_PUBLIC_APP_VERSION || process.env.npm_package_version || 'dev',
|
||||||
},
|
},
|
||||||
sentry: {
|
|
||||||
disableClientWebpackPlugin: true,
|
|
||||||
autoInstrumentServerFunctions: false,
|
|
||||||
autoInstrumentMiddleware: false,
|
|
||||||
widenClientFileUpload: false,
|
|
||||||
},
|
|
||||||
// Prevent webpack from restarting when .env files are touched via Docker volume mount
|
// Prevent webpack from restarting when .env files are touched via Docker volume mount
|
||||||
webpack: (config, { dev, isServer }) => {
|
webpack: (config, { dev, isServer }) => {
|
||||||
// Completely strip Next.js forced legacy polyfills for modern browser targets
|
// Completely strip Next.js forced legacy polyfills for modern browser targets
|
||||||
|
|||||||
Reference in New Issue
Block a user