|
@@ -9,7 +9,7 @@ const withMDX = require('@next/mdx')({
|
|
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
module.exports = withMDX({
|
|
|
- basePath: '/ya-webadb/apps/demo/out', //process.env.BASE_PATH || '', //'/ya-webadb/apps/demo/out', //process.env.BASE_PATH || '',
|
|
|
+ basePath: 'ya-webadb/apps/demo/out', //process.env.BASE_PATH || '', //'ya-webadb/apps/demo/out', //process.env.BASE_PATH || '',
|
|
|
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
|
|
|
reactStrictMode: false,
|
|
|
productionBrowserSourceMaps: true,
|
|
@@ -19,7 +19,7 @@ module.exports = withMDX({
|
|
|
esmExternals: 'loose',
|
|
|
},
|
|
|
publicRuntimeConfig: {
|
|
|
- basePath: '/ya-webadb/apps/demo/out', // process.env.BASE_PATH || '',// '/ya-webadb/apps/demo/out' // process.env.BASE_PATH || '',
|
|
|
+ basePath: 'ya-webadb/apps/demo/out', // process.env.BASE_PATH || '',// 'ya-webadb/apps/demo/out' // process.env.BASE_PATH || '',
|
|
|
},
|
|
|
webpack(config, options) {
|
|
|
config.module.rules.push({
|