Skip to content
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

@Mertico

Description

@Mertico

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy