Support for legacy browsers (#228)
This commit is contained in:
1 parent
4c90cf1e98
commit
6e4262e6a5
3 files changed
+2172
-16
No files matched your search
@@ -5,11 +5,18 @@ import ip from 'ip';
|
||||
import { existsSync, readFileSync } from 'fs'
|
||||
import { join as joinPath } from 'path'
|
||||
import { parse as dotEnvParse } from 'dotenv'
|
||||
import legacy from '@vitejs/plugin-legacy'
|
||||
|
||||
const PORT = 5173
|
||||
|
||||
const config: UserConfig = {
|
||||
plugins: [tsconfigPaths(), svelte()],
|
||||
plugins: [
|
||||
tsconfigPaths(),
|
||||
svelte(),
|
||||
legacy({
|
||||
targets: ['defaults', 'not IE 11'],
|
||||
})
|
||||
],
|
||||
build: {
|
||||
outDir: "../playlet-lib/src/www",
|
||||
emptyOutDir: true
|
||||
|
||||
Reference in new issue
Block a user