forked from opentiny/tiny-vue
feat(runtime): add directive runtime (#1784)
This commit is contained in:
parent
61c3abf44a
commit
db85c86827
|
@ -49,6 +49,7 @@ const createImportMap = (version) => {
|
||||||
'@opentiny/vue-icon': `${getRuntime(version)}tiny-vue-icon.mjs`,
|
'@opentiny/vue-icon': `${getRuntime(version)}tiny-vue-icon.mjs`,
|
||||||
'@opentiny/vue-locale': `${getRuntime(version)}tiny-vue-locale.mjs`,
|
'@opentiny/vue-locale': `${getRuntime(version)}tiny-vue-locale.mjs`,
|
||||||
'@opentiny/vue-common': `${getRuntime(version)}tiny-vue-common.mjs`,
|
'@opentiny/vue-common': `${getRuntime(version)}tiny-vue-common.mjs`,
|
||||||
|
'@opentiny/vue-directive': `${getRuntime(version)}tiny-vue-directive.mjs`,
|
||||||
'@opentiny/vue-theme/': `${cdnHost}/@opentiny/vue-theme${versionDelimiter}${version}/${fileDelimiter}`,
|
'@opentiny/vue-theme/': `${cdnHost}/@opentiny/vue-theme${versionDelimiter}${version}/${fileDelimiter}`,
|
||||||
'@opentiny/vue-theme-mobile/': `${cdnHost}/@opentiny/vue-theme-mobile${versionDelimiter}${version}/${fileDelimiter}`,
|
'@opentiny/vue-theme-mobile/': `${cdnHost}/@opentiny/vue-theme-mobile${versionDelimiter}${version}/${fileDelimiter}`,
|
||||||
'@opentiny/vue-renderless/': `${cdnHost}/@opentiny/vue-renderless${versionDelimiter}${version}/${fileDelimiter}`,
|
'@opentiny/vue-renderless/': `${cdnHost}/@opentiny/vue-renderless${versionDelimiter}${version}/${fileDelimiter}`,
|
||||||
|
|
|
@ -191,6 +191,10 @@ function getEntryTasks() {
|
||||||
{
|
{
|
||||||
path: 'vue-icon/index.ts',
|
path: 'vue-icon/index.ts',
|
||||||
libPath: 'tiny-vue-icon'
|
libPath: 'tiny-vue-icon'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'vue-directive/index.ts',
|
||||||
|
libPath: 'tiny-vue-directive'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
return entry
|
return entry
|
||||||
|
|
Loading…
Reference in New Issue