RoderickQiu/vuepress-plugin-internal-link

Configuration produces SyntaxError message

Opened this issue · 0 comments

Setted .vuepress/config.js

plugins: {
    'internal-link': {}
}

then npm run dev produces:

.vuepress\config.js:2
    'internal-link': {}
                   ^

SyntaxError: Unexpected token ':'
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1031:15)
    at Module._compile (node:internal/modules/cjs/loader:1065:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
...