🚑 Revert prisma fix
This commit is contained in:
@ -6,7 +6,7 @@ RUN npm --global install pnpm
|
|||||||
|
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
RUN apt-get -qy update && apt-get -qy --no-install-recommends install openssl git
|
RUN apt-get -qy update && apt-get -qy --no-install-recommends install openssl git
|
||||||
COPY pnpm-lock.yaml pnpm-workspace.yaml ./
|
COPY pnpm-lock.yaml .npmrc pnpm-workspace.yaml ./
|
||||||
RUN pnpm fetch
|
RUN pnpm fetch
|
||||||
ADD . ./
|
ADD . ./
|
||||||
RUN pnpm install -r --offline
|
RUN pnpm install -r --offline
|
||||||
|
@ -14,13 +14,6 @@ const nextConfig = withTM({
|
|||||||
experimental: {
|
experimental: {
|
||||||
outputFileTracingRoot: path.join(__dirname, '../../'),
|
outputFileTracingRoot: path.join(__dirname, '../../'),
|
||||||
},
|
},
|
||||||
webpack: (config, { isServer }) => {
|
|
||||||
if (isServer) {
|
|
||||||
config.externals = [...config.externals, '@prisma/client']
|
|
||||||
}
|
|
||||||
|
|
||||||
return config
|
|
||||||
},
|
|
||||||
headers: async () => {
|
headers: async () => {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
@ -7,13 +7,6 @@ const pages = ['pricing', 'privacy-policies', 'terms-of-service', 'about']
|
|||||||
|
|
||||||
module.exports = withBundleAnalyzer({
|
module.exports = withBundleAnalyzer({
|
||||||
transpilePackages: ['utils', 'models'],
|
transpilePackages: ['utils', 'models'],
|
||||||
webpack: (config, { isServer }) => {
|
|
||||||
if (isServer) {
|
|
||||||
config.externals = [...config.externals, '@prisma/client']
|
|
||||||
}
|
|
||||||
|
|
||||||
return config
|
|
||||||
},
|
|
||||||
async redirects() {
|
async redirects() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
@ -14,13 +14,6 @@ const nextConfig = withTM({
|
|||||||
experimental: {
|
experimental: {
|
||||||
outputFileTracingRoot: path.join(__dirname, '../../'),
|
outputFileTracingRoot: path.join(__dirname, '../../'),
|
||||||
},
|
},
|
||||||
webpack: (config, { isServer }) => {
|
|
||||||
if (isServer) {
|
|
||||||
config.externals = [...config.externals, '@prisma/client']
|
|
||||||
}
|
|
||||||
|
|
||||||
return config
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const sentryWebpackPluginOptions = {
|
const sentryWebpackPluginOptions = {
|
||||||
|
Reference in New Issue
Block a user