mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
renamed worker output file
This commit is contained in:
@@ -38,7 +38,7 @@ export default [
|
||||
output: {
|
||||
sourcemap: true,
|
||||
format: 'iife',
|
||||
file: 'public/build/QueryParserWorker.js',
|
||||
file: 'public/build/query-parser-worker.js',
|
||||
},
|
||||
plugins: [
|
||||
commonjs(),
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
if (enabled) {
|
||||
if (!queryParserWorker) {
|
||||
try {
|
||||
queryParserWorker = new Worker('build/QueryParserWorker.js');
|
||||
queryParserWorker = new Worker('build/query-parser-worker.js');
|
||||
// console.log('WORKER', queryParserWorker);
|
||||
queryParserWorker.onmessage = e => {
|
||||
processParserResult(e.data);
|
||||
|
||||
Reference in New Issue
Block a user