mirror of
https://github.com/LukeHagar/plex-sdk-docs.git
synced 2025-12-06 04:20:46 +00:00
34 lines
759 B
JavaScript
34 lines
759 B
JavaScript
const theme = require('./src/utils/themeLoader');
|
|
const withPlugins = require('next-compose-plugins');
|
|
const { remarkCodeHike } = require('@code-hike/mdx');
|
|
const jsonImporter = require('node-sass-json-importer');
|
|
|
|
const withNextra = require('nextra')({
|
|
theme: '@speakeasy-sdks/nextra-theme-docs',
|
|
themeConfig: './theme.config.tsx',
|
|
mdxOptions: {
|
|
remarkPlugins: [
|
|
[
|
|
remarkCodeHike,
|
|
{ lineNumbers: true, showCopyButton: true, theme: theme.codeTheme },
|
|
],
|
|
],
|
|
},
|
|
});
|
|
|
|
module.exports = withPlugins([], {
|
|
sassOptions: {
|
|
importer: jsonImporter(),
|
|
},
|
|
...withNextra({
|
|
output: 'export',
|
|
distDir: 'out',
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
}),
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
});
|