chore: setup linting
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import { defineConfig } from 'vite';
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
import comlink from 'vite-plugin-comlink';
|
||||
import glsl from "vite-plugin-glsl";
|
||||
import wasm from "vite-plugin-wasm";
|
||||
import glsl from 'vite-plugin-glsl';
|
||||
import wasm from 'vite-plugin-wasm';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
@@ -14,11 +14,11 @@ export default defineConfig({
|
||||
wasm()
|
||||
],
|
||||
worker: {
|
||||
plugins: () => ([
|
||||
plugins: () => [
|
||||
comlink()
|
||||
])
|
||||
]
|
||||
},
|
||||
ssr: {
|
||||
noExternal: ['three'],
|
||||
noExternal: ['three']
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user