mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 09:59:58 +01:00
Add es bundle to dist again
This commit is contained in:
parent
97389f9418
commit
0a13aae11a
25
example/package-lock.json
generated
25
example/package-lock.json
generated
@ -1344,6 +1344,19 @@
|
||||
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
|
||||
"dev": true
|
||||
},
|
||||
"intl-messageformat": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-4.1.2.tgz",
|
||||
"integrity": "sha512-VAIBsTw8VRgd/h4gYN7IbJFK/H6PbbDa6Sa5p2VbImO7HFr8CGpzX8pOooWQXAmiq+X6tPqPKXdrWFhoPbge/Q==",
|
||||
"requires": {
|
||||
"intl-messageformat-parser": "^1.6.8"
|
||||
}
|
||||
},
|
||||
"intl-messageformat-parser": {
|
||||
"version": "1.6.8",
|
||||
"resolved": "https://registry.npmjs.org/intl-messageformat-parser/-/intl-messageformat-parser-1.6.8.tgz",
|
||||
"integrity": "sha512-wnjxkKzAOKUgtBYYqVoDf2xt8zSf/c/m7FrQSmaz0SL3LNEMzVzzYXeLLda//RD3s6Ae4Tj2CgpAmY0Fnrws6A=="
|
||||
},
|
||||
"is-accessor-descriptor": {
|
||||
"version": "0.1.6",
|
||||
"resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",
|
||||
@ -1662,6 +1675,11 @@
|
||||
"readable-stream": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"micro-memoize": {
|
||||
"version": "4.0.8",
|
||||
"resolved": "https://registry.npmjs.org/micro-memoize/-/micro-memoize-4.0.8.tgz",
|
||||
"integrity": "sha512-Mzlo15iWNrP5EwokGjx0Wlh2b3aMjTPdpsD+ryQtkYJBD67IxBddWU2fO3MIXRtXDH8NsuhaotTrtDbfb+k6jw=="
|
||||
},
|
||||
"micromatch": {
|
||||
"version": "3.1.10",
|
||||
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
|
||||
@ -1835,6 +1853,11 @@
|
||||
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
|
||||
"dev": true
|
||||
},
|
||||
"object-resolve-path": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/object-resolve-path/-/object-resolve-path-1.1.1.tgz",
|
||||
"integrity": "sha1-p/j5Poogr4DkQhe6fbVDFtnRIjI="
|
||||
},
|
||||
"object-visit": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
|
||||
@ -2480,6 +2503,8 @@
|
||||
},
|
||||
"svelte-i18n": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/svelte-i18n/-/svelte-i18n-1.1.0.tgz",
|
||||
"integrity": "sha512-PcWrv4llsIQE9PhgNYRR4oLvjH8vbZnCZ5kyRhUsIZ88qimH4KuAwaSzwkxAPyW5Yu2JF+opgaS9XcUABNSBXQ==",
|
||||
"requires": {
|
||||
"intl-messageformat": "^4.0.1",
|
||||
"micro-memoize": "^4.0.7",
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svelte-i18n",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.2-beta",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "svelte-i18n",
|
||||
"version": "1.1.2-beta",
|
||||
"main": "dist/i18n.cjs.js",
|
||||
"module": "src/index.js",
|
||||
"main": "dist/i18n.js",
|
||||
"module": "dist/i18n.mjs",
|
||||
"license": "MIT",
|
||||
"description": "Internationalization library for Svelte",
|
||||
"author": "Christian Kaisermann <christian@kaisermann.me>",
|
||||
|
@ -11,6 +11,7 @@ export default [
|
||||
input: 'src/index.js',
|
||||
external: [...Object.keys(pkg.dependencies), 'svelte/store'],
|
||||
output: [
|
||||
{ file: pkg.module, format: 'es' },
|
||||
{ file: pkg.main, format: 'cjs' },
|
||||
],
|
||||
plugins,
|
||||
|
Loading…
Reference in New Issue
Block a user