mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: vditor: respect cdn_prefix setting
This commit is contained in:
1 parent
595f28b1df
commit
53d9908d12
3 files changed
+2
-1
No files matched your search
@@ -143,6 +143,7 @@ export default function (env = {}) {
|
||||
patterns: [
|
||||
{ from: root('static') },
|
||||
{ from: root(`${dirname(require.resolve('emojify.js/package.json'))}/dist/images/basic`), to: 'img/emoji/' },
|
||||
{ from: root(`${dirname(require.resolve('vditor/package.json'))}`), to: 'vditor' },
|
||||
],
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
|
||||
@@ -13,6 +13,7 @@ export const config = {
|
||||
toolbarConfig: {
|
||||
pin: true,
|
||||
},
|
||||
cdn: `${UiContext.cdn_prefix}vditor`,
|
||||
counter: {
|
||||
enable: true,
|
||||
max: 65536,
|
||||
|
||||
Reference in new issue
Block a user