提交 53176063 编写于 作者: D DCloud_LXH

feat: update theme to 1.3.29

上级 a7b1ce7a
...@@ -127,13 +127,12 @@ const config = { ...@@ -127,13 +127,12 @@ const config = {
'@theme-config', '@theme-config',
path.resolve(process.cwd(), 'docs/.vuepress/config') path.resolve(process.cwd(), 'docs/.vuepress/config')
) )
config.output.filename(`${nowString}/${config.output.get('filename')}`); //输出文件名
config.module.rule('images').use('url-loader').tap(changeLoaderOptions);
config.module.rule('fonts').use('url-loader').tap(changeLoaderOptions);
config.module.rule('media').use('url-loader').tap(changeLoaderOptions);
config.module.rule('svg').use('file-loader').tap(changeLoaderOptions);
if (!isServer && process.env.NODE_ENV === 'production') { if (!isServer && process.env.NODE_ENV === 'production') {
config.output.filename(`${nowString}/${config.output.get('filename')}`); //输出文件名
config.module.rule('images').use('url-loader').tap(changeLoaderOptions);
config.module.rule('fonts').use('url-loader').tap(changeLoaderOptions);
config.module.rule('media').use('url-loader').tap(changeLoaderOptions);
config.module.rule('svg').use('file-loader').tap(changeLoaderOptions);
const extract_css_plugin = config.plugin('extract-css'); const extract_css_plugin = config.plugin('extract-css');
const extract_css_plugin_args = extract_css_plugin.get('args'); const extract_css_plugin_args = extract_css_plugin.get('args');
if (extract_css_plugin_args) { if (extract_css_plugin_args) {
......
...@@ -9259,10 +9259,10 @@ vuepress-plugin-zooming@^1.1.8: ...@@ -9259,10 +9259,10 @@ vuepress-plugin-zooming@^1.1.8:
dependencies: dependencies:
zooming "^2.1.1" zooming "^2.1.1"
vuepress-theme-uni-app-test@^1.3.28: vuepress-theme-uni-app-test@^1.3.29:
version "1.3.28" version "1.3.29"
resolved "https://registry.npmmirror.com/vuepress-theme-uni-app-test/-/vuepress-theme-uni-app-test-1.3.28.tgz#337fa80dca4bb45ae97c8934f10f637a44e7efc5" resolved "https://registry.npmmirror.com/vuepress-theme-uni-app-test/-/vuepress-theme-uni-app-test-1.3.29.tgz#4e14ab580adf80de1b765d95b4a51c5bbd3dae7f"
integrity sha512-aMjCunFXvXTpYSRZSANxSJDnN/ESxaEPaxwC1wlViwoVKu5HXQq9bPW3QnXOm35UowVh/pUUbOGBCySi9rY0MQ== integrity sha512-xWgSPP4sV/KwOHcYMeIpNhFWBRJO+jV42djG+p+RUETa8CpUkMsTqEIowm4txHBNy7uRlMOpGl9MY6DcxOOtUA==
dependencies: dependencies:
"@vuepress/plugin-back-to-top" "^1.9.5" "@vuepress/plugin-back-to-top" "^1.9.5"
"@vuepress/theme-default" "^1.8.2" "@vuepress/theme-default" "^1.8.2"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册