Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 462119c

Browse files
committed
Release ES version
1 parent 95cc218 commit 462119c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fluent-vue-cli",
33
"description": "fluent-vue CLI to manage translation resources",
4-
"version": "3.0.2",
4+
"version": "3.0.3",
55
"author": {
66
"email": "[email protected]",
77
"name": "Ivan Demchuk",
@@ -25,7 +25,12 @@
2525
],
2626
"homepage": "https://github.com/Demivan/fluent-vue-cli",
2727
"license": "MIT",
28+
"exports": {
29+
"require": "./dist/index.js",
30+
"import": "./dist/index.mjs"
31+
},
2832
"main": "dist/index.js",
33+
"module": "dist/index.mjs",
2934
"repository": "Demivan/fluent-vue-cli",
3035
"scripts": {
3136
"build": "tsup",

tsup.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { defineConfig } from 'tsup'
22

33
export default defineConfig({
44
entry: ['src/index.ts', 'src/cli/index.ts'],
5+
format: ['cjs', 'esm'],
56
splitting: true,
67
clean: true,
78
dts: true,

0 commit comments

Comments
 (0)