Skip to content

Commit 3db10b1

Browse files
Fixes #91 (#94)
* Fixes #91 * update lock
1 parent 22678dc commit 3db10b1

File tree

17 files changed

+1818
-1565
lines changed

17 files changed

+1818
-1565
lines changed

build/rollup.config.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ import { terser } from 'rollup-plugin-terser'
44
import typescript from 'rollup-plugin-typescript2'
55
import { version as packageVersion } from '../package.json'
66

7+
const resolve = _path => path.resolve(__dirname, '../', _path)
78
const version = process.env.VERSION || packageVersion
8-
99
const 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-
1816
function 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

Comments
 (0)