mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-23 08:46:25 +00: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']
|
||
|
}
|
||
|
});
|