File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ async function init() {
81
81
82
82
write ( 'package.json' , JSON . stringify ( pkg , null , 2 ) )
83
83
84
- const pkgManager = / p n p m / . test ( process . env . npm_execpath )
84
+ const pkgManager = ( / p n p m / . test ( process . env . npm_execpath ) || / p n p m / . test ( process . env . npm_config_user_agent ) )
85
85
? 'pnpm'
86
86
: / y a r n / . test ( process . env . npm_execpath ) ? 'yarn' : 'npm'
87
87
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import Prism from 'markdown-it-prism'
10
10
import RemoteAssets , { DefaultRules } from 'vite-plugin-remote-assets'
11
11
// @ts -expect-error
12
12
import mila from 'markdown-it-link-attributes'
13
- import { notNullish } from '@slidev/client/node_modules/@ antfu/utils/dist '
13
+ import { notNullish } from '@antfu/utils'
14
14
import { createConfigPlugin } from './config'
15
15
import { createSlidesLoader } from './loaders'
16
16
import { createMonacoLoader , transformMarkdownMonaco } from './monaco'
You can’t perform that action at this time.
0 commit comments