@intlify/core 12.0.0-alpha.3 → 12.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/core.d.ts +1 -4
- package/dist/core.esm-browser.js +2264 -3053
- package/dist/core.esm-browser.prod.js +1368 -6
- package/dist/core.esm-bundler.js +1 -1
- package/dist/core.global.js +2555 -3344
- package/dist/core.global.prod.js +1382 -6
- package/dist/core.js +5 -30
- package/dist/core.node.js +5 -30
- package/dist/core.runtime.esm-browser.js +1329 -1853
- package/dist/core.runtime.esm-browser.prod.js +788 -6
- package/dist/core.runtime.esm-bundler.js +1 -1
- package/dist/core.runtime.global.js +1599 -2123
- package/dist/core.runtime.global.prod.js +788 -6
- package/dist/core.runtime.js +17 -25
- package/dist/core.runtime.node.js +17 -25
- package/package.json +40 -40
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ The intlify core module for i18n
|
|
|
8
8
|
|
|
9
9
|
- **`core(.runtime).global(.prod).js`**:
|
|
10
10
|
- For direct use via `<script src="...">` in the browser. Exposes the `IntlifyCore` global
|
|
11
|
-
- Note that global builds are not [UMD](https://github.com/umdjs/umd) builds.
|
|
11
|
+
- Note that global builds are not [UMD](https://github.com/umdjs/umd) builds. They are built as [IIFEs](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) and is only meant for direct use via `<script src="...">`
|
|
12
12
|
- In-browser locale messages compilation:
|
|
13
13
|
- **`core.global.js`** is the "full" build that includes both the compiler and the runtime so it supports compiling locale messages on the fly
|
|
14
14
|
- **`core.runtime.global.js`** contains only the runtime and requires locale messages to be pre-compiled during a build step
|
package/dist/core.d.ts
CHANGED