File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 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 <hello@dipaksarkar.in> (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/*" ,
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments