Skip to content

Commit

Permalink
upgrade to svelte 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Dobe committed Jul 1, 2023
1 parent 2d4f43c commit 21f73ab
Show file tree
Hide file tree
Showing 38 changed files with 521 additions and 1,803 deletions.
11 changes: 8 additions & 3 deletions frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
module.exports = {
root: true,
extends: ['eslint:recommended', 'prettier'],
plugins: ['svelte3'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
extends: ['plugin:svelte/recommended', 'prettier'],
parser: "@babel/eslint-parser",
overrides: [
{
files: ["*.svelte"],
parser: "svelte-eslint-parser",
},
],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020
Expand Down
2 changes: 2 additions & 0 deletions frontend/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

npm run build

mkdir ../templates/html
mkdir -p ../static/v1
rm -rf ../static/v1/*
rm -rf ../templates/html/*

Expand Down
Loading

0 comments on commit 21f73ab

Please sign in to comment.