Skip to content
This repository was archived by the owner on Jul 4, 2021. It is now read-only.

Commit 6bfc337

Browse files
authored
patch release v2.1.2 (#90)
* patch release v2.1.2 * update
1 parent 00e094d commit 6bfc337

File tree

3 files changed

+48
-24
lines changed

3 files changed

+48
-24
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11

2+
## v2.1.2 (2021-04-09)
3+
4+
#### :bug: Bug Fixes
5+
* [#89](https://github.com/intlify/vite-plugin-vue-i18n/pull/89) fix: code generation environment ([@kazupon](https://github.com/kazupon))
6+
7+
#### Committers: 1
8+
- kazuya kawaguchi ([@kazupon](https://github.com/kazupon))
9+
10+
211
## v2.1.1 (2021-04-08)
312

413
#### :zap: Improvement Features

README.md

Lines changed: 38 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,6 @@ Intlify Project is an open source project that is included Vue I18n and i18n too
3030
</a>
3131
</p>
3232

33-
<h3 align="center">🥈 Silver Sponsors</h3>
34-
35-
<p align="center">
36-
<a
37-
href="https://www.codeandweb.com/babeledit?utm_campaign=vue-i18n-2019-01"
38-
target="_blank">
39-
<img
40-
src="https://secure.codeandweb.com/static/babeledit.svg"
41-
width="200px"
42-
/>
43-
</a>
44-
</p>
45-
4633
<h3 align="center">🥉 Bronze Sponsors</h3>
4734

4835
<p align="center">
@@ -72,8 +59,8 @@ Intlify Project is an open source project that is included Vue I18n and i18n too
7259

7360
<br/>
7461

75-
7662
## :star: Features
63+
7764
- i18n resources pre-compilation
7865
- i18n custom block
7966
- Static bundle importing
@@ -191,9 +178,9 @@ example `yaml` foramt:
191178
```vue
192179
<i18n lang="yaml">
193180
en:
194-
hello: "Hello World!"
181+
hello: 'Hello World!'
195182
ja:
196-
hello: "こんにちは、世界!"
183+
hello: 'こんにちは、世界!'
197184
</i18n>
198185
```
199186

@@ -299,6 +286,7 @@ About details, See the below section
299286
Note `json` resources matches this option, it will be handled **before the internal json plugin of Vite, and will not be processed afterwards**, else the option doesn't match, the Vite side will handle.
300287

301288
### `runtimeOnly`
289+
302290
- **Type:** `boolean`
303291
- **Default:** `true`
304292

@@ -349,21 +337,48 @@ About details, See the below section
349337

350338
```js
351339
export default {
352-
"trueValue": (()=>{const fn=(ctx) => {const { normalize: _normalize } = ctx;return _normalize(["true"])};fn.source="true";return fn;})(),
353-
"falseValue": (()=>{const fn=(ctx) => {const { normalize: _normalize } = ctx;return _normalize(["false"])};fn.source="false";return fn;})(),
354-
"nullValue": (()=>{const fn=(ctx) => {const { normalize: _normalize } = ctx;return _normalize(["null"])};fn.source="null";return fn;})(),
355-
"numberValue": (()=>{const fn=(ctx) => {const { normalize: _normalize } = ctx;return _normalize(["1"])};fn.source="1";return fn;})()
340+
trueValue: (() => {
341+
const fn = ctx => {
342+
const { normalize: _normalize } = ctx
343+
return _normalize(['true'])
344+
}
345+
fn.source = 'true'
346+
return fn
347+
})(),
348+
falseValue: (() => {
349+
const fn = ctx => {
350+
const { normalize: _normalize } = ctx
351+
return _normalize(['false'])
352+
}
353+
fn.source = 'false'
354+
return fn
355+
})(),
356+
nullValue: (() => {
357+
const fn = ctx => {
358+
const { normalize: _normalize } = ctx
359+
return _normalize(['null'])
360+
}
361+
fn.source = 'null'
362+
return fn
363+
})(),
364+
numberValue: (() => {
365+
const fn = ctx => {
366+
const { normalize: _normalize } = ctx
367+
return _normalize(['1'])
368+
}
369+
fn.source = '1'
370+
return fn
371+
})()
356372
}
357373
```
358374

359-
360375
## :scroll: Changelog
361-
Details changes for each release are documented in the [CHANGELOG.md](https://github.com/intlify/vite-plugin-vue-i18n/blob/master/CHANGELOG.md).
362376

377+
Details changes for each release are documented in the [CHANGELOG.md](https://github.com/intlify/vite-plugin-vue-i18n/blob/master/CHANGELOG.md).
363378

364379
## :exclamation: Issues
365-
Please make sure to read the [Issue Reporting Checklist](https://github.com/inlitify/vite-plugin-vue-i18n/blob/master/.github/CONTRIBUTING.md#issue-reporting-guidelines) before opening an issue. Issues not conforming to the guidelines may be closed immediately.
366380

381+
Please make sure to read the [Issue Reporting Checklist](https://github.com/inlitify/vite-plugin-vue-i18n/blob/master/.github/CONTRIBUTING.md#issue-reporting-guidelines) before opening an issue. Issues not conforming to the guidelines may be closed immediately.
367382

368383
## :copyright: License
369384

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@intlify/vite-plugin-vue-i18n",
33
"description": "Vite plugin for i18n resource pre-compilation and custom blocks",
4-
"version": "2.1.1",
4+
"version": "2.1.2",
55
"author": {
66
"name": "kazuya kawaguchi",
77
"email": "kawakazu80@gmail.com"

0 commit comments

Comments
 (0)