depot/third_party/nixpkgs/pkgs/by-name/ne/nextjs-ollama-llm-ui/0003-add-standalone-output.patch
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

16 lines
443 B
Diff

diff --git a/next.config.mjs b/next.config.mjs
index dc34f1a..f6f90c4 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
- webpack: (config, { isServer }) => {
+ output: 'standalone',
+ webpack: (config, { isServer }) => {
// Fixes npm packages that depend on `fs` module
if (!isServer) {
config.resolve.fallback = {
--
2.42.0