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

Lines changed: 6 additions & 1 deletion
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": "ivan.demchuk@gmail.com",
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

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy