diff --git a/examples/sites/playground/App.vue b/examples/sites/playground/App.vue index 86e0cf3b0..40bd9665d 100644 --- a/examples/sites/playground/App.vue +++ b/examples/sites/playground/App.vue @@ -49,6 +49,7 @@ const createImportMap = (version) => { '@opentiny/vue-icon': `${getRuntime(version)}tiny-vue-icon.mjs`, '@opentiny/vue-locale': `${getRuntime(version)}tiny-vue-locale.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-mobile/': `${cdnHost}/@opentiny/vue-theme-mobile${versionDelimiter}${version}/${fileDelimiter}`, '@opentiny/vue-renderless/': `${cdnHost}/@opentiny/vue-renderless${versionDelimiter}${version}/${fileDelimiter}`, diff --git a/internals/cli/src/commands/build/build-runtime.ts b/internals/cli/src/commands/build/build-runtime.ts index 6900bb4c4..3cde7f8d0 100644 --- a/internals/cli/src/commands/build/build-runtime.ts +++ b/internals/cli/src/commands/build/build-runtime.ts @@ -191,6 +191,10 @@ function getEntryTasks() { { path: 'vue-icon/index.ts', libPath: 'tiny-vue-icon' + }, + { + path: 'vue-directive/index.ts', + libPath: 'tiny-vue-directive' } ] return entry