Skip to content

Commit 9d4bb19

Browse files
committed
chore($docs): leverage babel-styled plugin config
1 parent 8611c1c commit 9d4bb19

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

packages/docs/docs/.vuepress/config.js

+10-11
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,19 @@ module.exports = ctx => ({
6464
}
6565
}
6666
},
67-
plugins: {
68-
'@vuepress/i18n-ui': !ctx.isProd,
69-
'@vuepress/back-to-top': true,
70-
'@vuepress/pwa': {
67+
plugins: [
68+
['@vuepress/i18n-ui',!ctx.isProd],
69+
['@vuepress/back-to-top', true],
70+
['@vuepress/pwa', {
7171
serviceWorker: true,
7272
updatePopup: true
73-
},
74-
'@vuepress/plugin-medium-zoom': true,
75-
'@vuepress/notification': true,
76-
'flowchart': true,
77-
'@vuepress/google-analytics': {
73+
}],
74+
['@vuepress/medium-zoom', true],
75+
['@vuepress/notification', true],
76+
['@vuepress/google-analytics', {
7877
ga: 'UA-128189152-1'
79-
}
80-
},
78+
}],
79+
],
8180
clientRootMixin: path.resolve(__dirname, 'mixin.js'),
8281
extendMarkdown (md) {
8382
md.use(container, 'upgrade', {

0 commit comments

Comments
 (0)