Skip to content

Commit

Permalink
#4745 - Upgrade dependencies
Browse files Browse the repository at this point in the history
- chai 4.3.6 -> 5.1.0
- svelte 3.59.2 -> 4.2.15
- svelte-preprocess 5.0.4 -> 5.1.4
- Cross-grade from mocha to vitest
  • Loading branch information
reckart committed Apr 21, 2024
1 parent 998d686 commit 0e57744
Show file tree
Hide file tree
Showing 57 changed files with 49,076 additions and 22,554 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

export default {
preprocess: [vitePreprocess()]
}

Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const esbuildSvelte = require('esbuild-svelte')
const sveltePreprocess = require('svelte-preprocess')
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'

module.exports = {
type: 'bundle',
esbuild: {
target: 'es2018',
plugins: [
esbuildSvelte({
compilerOptions: { css: 'injected' },
preprocess: sveltePreprocess({ sourceMap: true })
})
]
export default defineConfig({
plugins: [
svelte()
],
test: {
globals: true,
environment: 'jsdom'
}
}
})
Loading

0 comments on commit 0e57744

Please sign in to comment.