diff --git a/apps/blabber/next.config.js b/apps/blabber/next.config.js index c7b6621..a09f104 100644 --- a/apps/blabber/next.config.js +++ b/apps/blabber/next.config.js @@ -1,5 +1,6 @@ const { withNx } = require('@nx/next'); const { withSentryConfig } = require('@sentry/nextjs'); +const path = require('path'); /** * @type {import('@nx/next/plugins/with-nx').WithNxOptions} @@ -12,6 +13,8 @@ const nextConfig = { svgr: true, }, experimental: { + // this includes files from the monorepo base two directories up + outputFileTracingRoot: path.join(__dirname, '../../'), serverActions: true, appDir: true, }, @@ -49,7 +52,7 @@ module.exports = [withSentryConfig, withNx].reduce((acc, next) => { // Automatically tree-shake Sentry logger statements to reduce bundle size disableLogger: true, - } + }, ); } return next(acc); diff --git a/apps/blabber/project.json b/apps/blabber/project.json index 5e87969..5481bd7 100644 --- a/apps/blabber/project.json +++ b/apps/blabber/project.json @@ -9,7 +9,7 @@ "outputs": ["{options.outputPath}"], "defaultConfiguration": "production", "options": { - "output": "export", + "output": "standalone", "outputPath": "dist/apps/blabber", "buildLibsFromSource": false, "includeDevDependenciesInPackageJson": false,