mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-08-28 15:17:18 +02:00
19 lines
399 B
TypeScript
19 lines
399 B
TypeScript
|
import { join } from 'path';
|
||
|
import { serve } from '@codedoc/core';
|
||
|
|
||
|
import { config } from './config';
|
||
|
import { content } from './content';
|
||
|
import { installTheme$ } from './content/theme';
|
||
|
|
||
|
|
||
|
const root = join(__dirname, '../');
|
||
|
|
||
|
serve(root, config, content, installTheme$, {
|
||
|
resolve: {
|
||
|
modules: ['.codedoc/node_modules']
|
||
|
},
|
||
|
resolveLoader: {
|
||
|
modules: ['.codedoc/node_modules']
|
||
|
}
|
||
|
});
|