mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-11-17 19:10:02 +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']
|
||
|
}
|
||
|
});
|