Skip to content

Commit

Permalink
feat: Vue 2.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
adamberecz committed Jul 11, 2022
1 parent 39112fa commit 830b907
Show file tree
Hide file tree
Showing 20 changed files with 24 additions and 33 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v2.1.1

> `2022-07-11`
### 🎉 Features
- Vue `2.7` compatibility.

## v2.1.0

> `2022-07-11`
Expand Down
9 changes: 1 addition & 8 deletions build/vue2.rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import vue from 'vue-prev-rollup-plugin-vue'
import alias from '@rollup/plugin-alias'
import babel from '@rollup/plugin-babel'
import { terser } from 'rollup-plugin-terser'

Expand All @@ -12,11 +11,6 @@ export default [
},
plugins: [
vue(),
alias({
entries: [
{ find: 'composition-api', replacement: 'vue' },
]
}),
babel({
babelHelpers: 'runtime',
skipPreflightCheck: true,
Expand All @@ -32,7 +26,6 @@ export default [
format: 'iife',
name: 'VueformToggle',
globals: {
'composition-api': 'Vue',
'vue': 'Vue',
}
},
Expand All @@ -43,6 +36,6 @@ export default [
}),
terser()
],
external: ['composition-api', 'vue'],
external: ['vue'],
}
]
9 changes: 1 addition & 8 deletions build/vue3.rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import vue from 'vue-next-rollup-plugin-vue'
import alias from '@rollup/plugin-alias'
import babel from '@rollup/plugin-babel'
import { terser } from 'rollup-plugin-terser'

Expand All @@ -12,11 +11,6 @@ export default [
},
plugins: [
vue(),
alias({
entries: [
{ find: 'composition-api', replacement: 'vue' },
]
}),
babel({
babelHelpers: 'runtime',
skipPreflightCheck: true,
Expand All @@ -32,7 +26,6 @@ export default [
format: 'iife',
name: 'VueformToggle',
globals: {
'composition-api': 'Vue',
'vue': 'Vue',
}
},
Expand All @@ -43,6 +36,6 @@ export default [
}),
terser()
],
external: ['composition-api', 'vue'],
external: ['vue'],
}
]
2 changes: 1 addition & 1 deletion dist/toggle.global.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 830b907

Please sign in to comment.