summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/next.config.js
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-03-17 17:29:12 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-04-05 13:46:33 +0200
commit6d67cabc6fd3d59982a9501fad08b8e06a2e2d5b (patch)
tree95b8863ab840bd0e51a5d24b69f6ecaee5945096 /opendc-web/opendc-web-ui/next.config.js
parent8ca917ec9b0dd129729c527da77e2eb0ea3abf58 (diff)
build(web/ui): Add Gradle integration with Next.js project
This change adds support for building the OpenDC web interface project that uses Next.js using Gradle. This enables a single build pipeline using Gradle.
Diffstat (limited to 'opendc-web/opendc-web-ui/next.config.js')
-rw-r--r--opendc-web/opendc-web-ui/next.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui/next.config.js b/opendc-web/opendc-web-ui/next.config.js
index ceb0900e..59341b1f 100644
--- a/opendc-web/opendc-web-ui/next.config.js
+++ b/opendc-web/opendc-web-ui/next.config.js
@@ -30,6 +30,7 @@ module.exports = withConfig({
experimental: {
eslint: true
},
+ distDir: 'build/next',
async redirects() {
return [
{