@5minds/processcube_docflow
Version:
Create webpage to view process documentation
16 lines (12 loc) • 539 B
JavaScript
const { withApplicationSdk, NextConfigWithApplicationSdkConfig } = require('@5minds/processcube_app_sdk/server');
/** @type {import('next').NextConfig} */
const nextConfig = {};
/** @type {NextConfigWithApplicationSdkConfig} */
const nextConfigWithApplicationSdkConfig = {
...nextConfig,
trailingSlash: true,
basePath: process.env.BASE_PATH || undefined,
distDir: process.env.OUT_DIR || undefined,
transpilePackages: ['@5minds/processcube_docflow'],
};
module.exports = withApplicationSdk(nextConfigWithApplicationSdkConfig);