This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Wrong generating ids customBlocks #333
Open
Description
Version
5.0.0
Reproduction link
https://github.com/intlify/rollup-plugin-vue-i18n
Steps to reproduce
Clone https://github.com/intlify/rollup-plugin-vue-i18n install and update rollup-plugin-vue to 5.1.6
VuePlugin({
customBlocks: ['i18n'],
})
Generatered
tag <i18n lang="json"></i18n>
?rollup-plugin-vue=customBlocks.0.json
tag <i18n></i18n>
?rollup-plugin-vue=customBlocks.0.i18n
and add default lang
VuePlugin({
customBlocks: ['i18n'],
defaultLang: {
i18n: 'json'
}
})
tag <i18n></i18n>
?rollup-plugin-vue=customBlocks.0.json
What is expected?
maybe generated ids ?rollup-plugin-vue=customBlocks.<tagName>.<lang?>
What is actually happening?
Generate wrong ids
Metadata
Metadata
Assignees
Labels
No labels