mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 22:16:00 +00:00
removed rollup worker plugin
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
"rollup-plugin-livereload": "^2.0.0",
|
||||
"rollup-plugin-svelte": "^7.0.0",
|
||||
"rollup-plugin-terser": "^7.0.0",
|
||||
"rollup-plugin-web-worker-loader": "^1.6.1",
|
||||
"sirv-cli": "^1.0.0",
|
||||
"sql-formatter": "^2.3.3",
|
||||
"svelte": "^3.43.0",
|
||||
|
||||
@@ -7,7 +7,6 @@ import { terser } from 'rollup-plugin-terser';
|
||||
import sveltePreprocess from 'svelte-preprocess';
|
||||
import typescript from '@rollup/plugin-typescript';
|
||||
import replace from '@rollup/plugin-replace';
|
||||
// import webWorkerLoader from 'rollup-plugin-web-worker-loader';
|
||||
import css from 'rollup-plugin-css-only';
|
||||
|
||||
const production = !process.env.ROLLUP_WATCH;
|
||||
@@ -120,8 +119,6 @@ export default [
|
||||
// If we're building for production (npm run build
|
||||
// instead of npm run dev), minify
|
||||
production && terser(),
|
||||
|
||||
// webWorkerLoader(),
|
||||
],
|
||||
watch: {
|
||||
clearScreen: true,
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
import _ from 'lodash';
|
||||
import { handleCommandKeyDown } from '../commands/CommandListener.svelte';
|
||||
import resizeObserver from '../utility/resizeObserver';
|
||||
// @ts-ignore
|
||||
// import QueryParserWorker from 'web-worker:./QueryParserWorker';
|
||||
import queryParserWorkerFallback from './queryParserWorkerFallback';
|
||||
|
||||
const EDITOR_ID = `svelte-ace-editor-div:${Math.floor(Math.random() * 10000000000)}`;
|
||||
|
||||
Reference in New Issue
Block a user