From 8217507715fda4c0407b93087ac58b3a7a2b5b18 Mon Sep 17 00:00:00 2001 From: iMaeGoo Date: Mon, 4 Jan 2021 18:43:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(0.5.1):=20=E4=BF=AE=E5=A4=8D=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=8A=9F=E8=83=BD=20(#86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修复 Valine 导入 #70 * 修复 Disqus 导入 --- .npmignore | 3 +- babel.config.json | 2 +- {public => demo}/demo.css | 0 {public => demo}/demo.html | 0 {public => demo}/index.html | 0 docs/.vuepress/theme/layouts/Layout.vue | 2 +- docs/quick-start.md | 4 +-- package.json | 6 ++-- src/function/twikoo/index.js | 44 ++++++++++++++++++------- src/function/twikoo/package.json | 2 +- webpack.config.js | 36 ++++++++++---------- 11 files changed, 61 insertions(+), 38 deletions(-) rename {public => demo}/demo.css (100%) rename {public => demo}/demo.html (100%) rename {public => demo}/index.html (100%) diff --git a/.npmignore b/.npmignore index da5bdd7ae..1b0b4c133 100644 --- a/.npmignore +++ b/.npmignore @@ -9,13 +9,14 @@ .gitignore .npmignore _config.js +babel.config.json cloudbaserc.json +demo dist/demo.css dist/demo.html dist/index.html docs node_modules -public src stats.json webpack.config.js diff --git a/babel.config.json b/babel.config.json index 8d3699ee9..b1a982592 100644 --- a/babel.config.json +++ b/babel.config.json @@ -1,4 +1,4 @@ { "presets": ["@babel/preset-env"], - "plugins": ["@babel/plugin-transform-modules-commonjs","@babel/transform-runtime"] + "plugins": ["@babel/plugin-transform-modules-commonjs", "@babel/transform-runtime"] } \ No newline at end of file diff --git a/public/demo.css b/demo/demo.css similarity index 100% rename from public/demo.css rename to demo/demo.css diff --git a/public/demo.html b/demo/demo.html similarity index 100% rename from public/demo.html rename to demo/demo.html diff --git a/public/index.html b/demo/index.html similarity index 100% rename from public/index.html rename to demo/index.html diff --git a/docs/.vuepress/theme/layouts/Layout.vue b/docs/.vuepress/theme/layouts/Layout.vue index ad05ba912..275edf6df 100644 --- a/docs/.vuepress/theme/layouts/Layout.vue +++ b/docs/.vuepress/theme/layouts/Layout.vue @@ -6,7 +6,7 @@
- + diff --git a/docs/quick-start.md b/docs/quick-start.md index 5e679a2b4..5c61cc82c 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -99,7 +99,7 @@ Volantis 目前支持 Twikoo,请查看 [hexo-theme-volantis/_config.yml](https ``` yml comments: twikoo: - js: https://cdn.jsdelivr.net/npm/twikoo@0.5.0/dist/twikoo.all.min.js + js: https://cdn.jsdelivr.net/npm/twikoo@0.5.1/dist/twikoo.all.min.js envId: xxxxxxxxxxxxxxx # 腾讯云环境id ``` @@ -124,7 +124,7 @@ twikoo: ``` html
- +