Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Loic Chatagnon committed Jul 11, 2023
1 parent ba69541 commit bad1af9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
"name": "svelte-i18n",
"version": "3.7.0",
"type": "module",
"main": "dist/runtime.esm.js",
"module": "dist/runtime.esm.js",
"main": "dist/runtime.cjs.js",
"exports": {
"types": "./dist/runtime.d.ts",
"import": "./dist/runtime.esm.js",
"require": "./dist/runtime.cjs.js"
},
"types": "dist/runtime.d.ts",
"bin": {
"svelte-i18n": "dist/cli.js"
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.mjs → rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default [
'svelte/store',
],
output: [
{ file: pkg.module, format: 'es' },
{ file: pkg.exports.import, format: 'es' },
{ file: pkg.main, format: 'cjs' },
],
plugins: [commonjs(), autoExternal(), ts(), terser()],
Expand Down

0 comments on commit bad1af9

Please sign in to comment.