We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea74e0f commit 688c55fCopy full SHA for 688c55f
next.config.mjs
@@ -1,7 +1,11 @@
1
/** @type {import('next').NextConfig} */
2
-const nextConfig = {
3
- output: "export",
4
- distDir: "dist",
5
-};
+import {PHASE_DEVELOPMENT_SERVER} from 'next/constants.js'
6
7
-export default nextConfig;
+export default (phase) => {
+ const isDev = phase === PHASE_DEVELOPMENT_SERVER
+ return {
+ assetPrefix: isDev ? undefined : '/webjars/chat-agent-ui',
8
+ output: "export",
9
+ distDir: "dist",
10
+ }
11
+}
pom.xml
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.javaaidev</groupId>
<artifactId>chat-agent-ui</artifactId>
- <version>0.5.0</version>
+ <version>0.5.1</version>
<name>Chat Agent UI</name>
<description>Chat Agent UI</description>
0 commit comments