Skip to content

Commit

Permalink
fix: template alias
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Aug 22, 2023
1 parent 1a9aeb0 commit 6e34564
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default defineNuxtModule<ModuleOptions>({

nuxt.hook('vite:extendConfig', (viteConfig) => {
viteConfig.optimizeDeps?.include?.push(
'is-buffer', 'debug', 'flat', 'mdurl', 'node-emoji', 'extend', 'hast-util-raw'
'is-buffer', 'debug', 'flat', 'node-emoji', 'extend', 'hast-util-raw'
)
})

Expand Down
2 changes: 1 addition & 1 deletion src/runtime/parser/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import rehypeSortAttributes from 'rehype-sort-attributes'
import rehypeRaw from 'rehype-raw'
import type { MDCParseOptions } from '../types'
// @ts-ignore
import { remarkPlugins, rehypePlugins, highlight } from '#mdc-imports'
import { remarkPlugins, rehypePlugins, highlight } from '#build/mdc-imports.mjs'

export const defaults: MDCParseOptions = {
remark: {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MDCParseOptions } from '../../src/runtime/types'
import { Theme, TokenStyleMap } from '../../src/runtime/shiki/types'
import { useShikiHighlighter } from '../../src/runtime/shiki/highlighter'

vi.mock('#mdc-imports', () => {
vi.mock('#build/mdc-imports.mjs', () => {
return {
remarkPlugins: {},
rehypePlugins: {},
Expand Down

0 comments on commit 6e34564

Please sign in to comment.