@@ -4,17 +4,15 @@ import { terser } from 'rollup-plugin-terser'
44import typescript from 'rollup-plugin-typescript2'
55import { version as packageVersion } from '../package.json'
66
7+ const resolve = _path => path . resolve ( __dirname , '../' , _path )
78const version = process . env . VERSION || packageVersion
8-
99const banner = `/*!
1010 * @modus/ionic-vue v${ version }
1111 * ${ new Date ( ) . getFullYear ( ) } Michael Tintiuc - Modus Create
1212 * @license MIT
1313 */
1414`
1515
16- const resolve = _path => path . resolve ( __dirname , '../' , _path )
17-
1816function outputConfig ( suffix , format , opts = { } ) {
1917 return Object . assign (
2018 {
@@ -36,8 +34,6 @@ function baseConfig() {
3634 outputConfig ( '' , 'umd' , {
3735 globals : {
3836 vue : 'Vue' ,
39- 'vue-class-component' : 'VueClassComponent' ,
40- 'vue-property-decorator' : 'vue-property-decorator' ,
4137 } ,
4238 } ) ,
4339 outputConfig ( '.esm' , 'esm' ) ,
@@ -46,14 +42,19 @@ function baseConfig() {
4642 external : [
4743 'vue' ,
4844 'vue-router' ,
49- 'vue-class-component' ,
50- 'vue-property-decorator' ,
5145 '@ionic/core' ,
5246 '@ionic/core/loader' ,
5347 'ionicons' ,
5448 'ionicons/icons' ,
5549 ] ,
56- plugins : [ vue ( ) , typescript ( { useTsconfigDeclarationDir : true } ) ] ,
50+ plugins : [
51+ vue ( ) ,
52+ typescript ( {
53+ useTsconfigDeclarationDir : true ,
54+ objectHashIgnoreUnknownHack : true ,
55+ clean : true
56+ } )
57+ ] ,
5758 }
5859}
5960
0 commit comments