Skip to content

Commit

Permalink
fix: lock vite svelte plugin to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jan 18, 2023
1 parent 1adcec4 commit 639372e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create/utils/generate-package-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = function generatePackageJson(options) {
const dependencies = [
'framework7',
'dom7',
'swiper',
'swiper@8',
'skeleton-elements',
...(theming.iconFonts ? ['framework7-icons', 'material-icons'] : []),
...(framework === 'vue' ? ['framework7-vue', 'vue@3'] : []),
Expand Down Expand Up @@ -44,7 +44,7 @@ module.exports = function generatePackageJson(options) {
...(type.indexOf('pwa') >= 0 ? ['workbox-cli'] : []),
...(framework === 'core' ? ['rollup-plugin-framework7'] : []),
...(framework === 'react' ? ['@vitejs/plugin-react-refresh'] : []),
...(framework === 'svelte' ? ['@sveltejs/vite-plugin-svelte'] : []),
...(framework === 'svelte' ? ['@sveltejs/vite-plugin-svelte@1'] : []),
...(framework === 'vue' ? ['@vitejs/plugin-vue', '@vue/compiler-sfc'] : []),
],
);
Expand Down

0 comments on commit 639372e

Please sign in to comment.