Skip to content

Commit d7cc4e7

Browse files
committed
updated version
1 parent a30724f commit d7cc4e7

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"name": "@coders-tm/vue-number-format",
3-
"version": "3.1.3",
3+
"version": "3.2.0",
44
"private": false,
55
"description": "Easy formatted numbers, currency and percentage with input/directive mask for Vue.js",
66
"author": "Dipak Sarkar <[email protected]> (https://dipaksarkar.in/)",
77
"main": "dist/index.cjs.js",
88
"module": "dist/index.esm.js",
9+
"browser": "dist/index.js",
10+
"unpkg": "dist/index.js",
911
"licence": "MIT",
1012
"files": [
1113
"dist/*",

rollup.config.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,18 @@ export default {
2020
},
2121
{
2222
file: pkg.module,
23-
format: 'es',
23+
format: 'esm',
2424
exports: 'named',
2525
banner,
2626
},
27+
{
28+
file: pkg.browser,
29+
name: 'VueNumberFormat',
30+
format: 'iife',
31+
exports: 'named',
32+
banner,
33+
globals: { vue: 'Vue' },
34+
},
2735
],
2836
plugins: [vue(), filesize()],
2937
}

0 commit comments

Comments
 (0)