Skip to content

Commit a21860d

Browse files
committed
fix vitepress config
1 parent c62c5cd commit a21860d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docs/.vitepress/config.mts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,12 @@ export default async () => {
162162

163163
tslib: path.join(dirname, '../../node_modules/tslib/tslib.es6.js'),
164164
globby: path.join(dirname, './build-system/shim/empty.mjs'),
165-
'fast-glob': path.join(dirname, './build-system/shim/empty.mjs')
165+
'fast-glob': path.join(dirname, './build-system/shim/empty.mjs'),
166+
module: path.join(dirname, './build-system/shim/empty.mjs')
166167
}
167168
},
168169
define: {
169170
'require.cache': '{}'
170-
},
171-
build: {
172-
rollupOptions: {
173-
external: ['module']
174-
}
175171
}
176172
},
177173

0 commit comments

Comments
 (0)