File tree 2 files changed +11
-13
lines changed
2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 6
6
"author" :
" Dipak Sarkar <[email protected] > (https://dipaksarkar.in/)" ,
7
7
"main" : " dist/index.cjs.js" ,
8
8
"module" : " dist/index.esm.js" ,
9
- "unpkg" : " dist/index.min.js" ,
10
- "style" : " dist/styles.css" ,
11
9
"licence" : " MIT" ,
12
10
"files" : [
13
11
" dist/*" ,
Original file line number Diff line number Diff line change 1
- import vue from " rollup-plugin-vue" ;
2
- import filesize from " rollup-plugin-filesize" ;
3
- import pkg from " ./package.json" ;
1
+ import vue from ' rollup-plugin-vue'
2
+ import filesize from ' rollup-plugin-filesize'
3
+ import pkg from ' ./package.json'
4
4
5
5
const banner = `/**
6
- * Vue Number Input ${ pkg . version }
6
+ * Vue Number Format ${ pkg . version }
7
7
* (c) 2021-${ new Date ( ) . getFullYear ( ) } ${ pkg . author }
8
8
* @license ${ pkg . license }
9
- */` ;
9
+ */`
10
10
11
11
export default {
12
- input : " src/index.js" ,
12
+ input : ' src/index.js' ,
13
13
output : [
14
14
{
15
15
file : pkg . main ,
16
- format : " cjs" ,
17
- exports : " named" ,
16
+ format : ' cjs' ,
17
+ exports : ' named' ,
18
18
banner,
19
19
} ,
20
20
{
21
21
file : pkg . module ,
22
- format : "es" ,
23
- exports : " named" ,
22
+ format : 'es' ,
23
+ exports : ' named' ,
24
24
banner,
25
25
} ,
26
26
] ,
27
27
plugins : [ vue ( ) , filesize ( ) ] ,
28
- } ;
28
+ }
You can’t perform that action at this time.
0 commit comments