mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-11-05 13:14:48 +01: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']
|
||
|
}
|
||
|
});
|