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