Skip to content

Commit

Permalink
INT-3242: update to svelte-4
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-pomili committed Oct 25, 2023
1 parent 1ef3fe5 commit 8807b60
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
"preprocess": require("svelte-preprocess")()
},
'webpackFinal': (config) => {
config.resolve.alias.svelte = path.resolve('node_modules', 'svelte');
config.resolve.alias.svelte = path.resolve('node_modules', 'svelte/src/runtime');
return config;
}
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@
"rollup": "^2.56.2",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "^7.0.0",
"rollup-plugin-svelte": "^7.1.5",
"rollup-plugin-terser": "^7.0.0",
"svelte": "^3.42.1",
"svelte-check": "^2.2.4",
"svelte-loader": "^3.1.2",
"svelte-preprocess": "^4.0.0",
"svelte": "^4.0.0",
"svelte-check": "^3.4.3",
"svelte-loader": "^3.1.8",
"svelte-preprocess": "^5.0.3",
"tslib": "^2.3.1",
"typescript": "^4.0.0",
"typescript": "^5.0.0",
"webpack": "^5.76.2"
},
"resolutions": {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"extends": "@tsconfig/svelte/tsconfig.json",
"compilerOptions": {
"sourceMap": true,
"types": ["svelte"]
"types": ["svelte"],
"ignoreDeprecations": "5.0"
},

"include": ["src/**/*"],
Expand Down
Loading

0 comments on commit 8807b60

Please sign in to comment.