You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`{string} basePath`: The base path that single-file components are located in project
121
+
*`{SFCFileInfo[]} files`: The target single-file components information
122
+
***Return:**`MetaLocaleMessage`
123
+
124
+
Squeeze the meta of locale messages from i18n custom block at single-file components.
125
+
126
+
In about structure of the meta information that is returned with this function, You can see the [here](https://github.com/kazupon/vue-i18n-locale-message/blob/master/types/index.d.ts#L34-L81).
*`{string} basePath`: The base path that single-file components are located in project
132
+
*`{SFCFileInfo[]} sources`: The target single-file components information
133
+
*`{MetaLocaleMessage}`: The meta of locale message
134
+
***Return:**`SFCFileInfo[]`
135
+
136
+
Infuse the meta of locale messages to i18n custom block at single-file components.
137
+
138
+
`infuse` function will return new single-file components information that is updated with the single-file components information specified as `sources` and the meta of locale message as `meta`.
139
+
140
+
## :notebook: CLI: Locale message squeezing rules
113
141
114
142
The structure of locale messages to be squeezed is layered with the **directory structure** and **single-file component (`.vue`) filename**.
0 commit comments