Skip to content

Commit

Permalink
fix(vuepress-plugin): 修复环境变量__OML2D_OPTIONS__未定义的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
loclink committed Mar 3, 2024
1 parent 37a34ae commit 56da8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuepress-plugin/src/node/index.ts
Expand Up @@ -7,7 +7,7 @@ export const oml2dPlugin = (options = {}): Plugin => ({
name: 'vuepress-plugin-oh-my-live2d',
define: {
// eslint-disable-next-line @typescript-eslint/naming-convention
__OML_OPTIONS__: options
__OML2D_OPTIONS__: options
},
multiple: false,
clientConfigFile: path.resolve(__dirname, '../client/config.js')
Expand Down

0 comments on commit 56da8b2

Please sign in to comment.