1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-06 22:15:23 +02:00

not module

This commit is contained in:
Taly 2022-07-05 18:01:59 +03:00
parent 5177227d1c
commit bcfef10df4
2 changed files with 2 additions and 2 deletions

View file

@ -41,12 +41,12 @@ export default class Page {
* @return {Promise<TableOfContent>}
*/
async createTableOfContent() {
const { default: TableOfContent } = await import(/* webpackChunkName: "table-of-content" */ './table-of-content');
const { default: TableOfContent } = await import(/* webpackChunkName: "table-of-content" */ '../classes/table-of-content');
return new TableOfContent({
tagSelector:
'h2.block-header--anchor,' +
'h3.block-header--anchor,' +
'h3.block-header--anchor,' +
'h4.block-header--anchor',
tocWrapperSelector: '#layout-sidebar-right',
});