mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 16:16:02 +00:00
remove sourcemaps from build
This commit is contained in:
@@ -37,7 +37,7 @@ export default [
|
|||||||
{
|
{
|
||||||
input: 'src/query/QueryParserWorker.js',
|
input: 'src/query/QueryParserWorker.js',
|
||||||
output: {
|
output: {
|
||||||
sourcemap: true,
|
sourcemap: !production,
|
||||||
format: 'iife',
|
format: 'iife',
|
||||||
file: 'public/build/query-parser-worker.js',
|
file: 'public/build/query-parser-worker.js',
|
||||||
},
|
},
|
||||||
@@ -56,7 +56,7 @@ export default [
|
|||||||
{
|
{
|
||||||
input: 'src/main.ts',
|
input: 'src/main.ts',
|
||||||
output: {
|
output: {
|
||||||
sourcemap: true,
|
sourcemap: !production,
|
||||||
format: 'iife',
|
format: 'iife',
|
||||||
name: 'app',
|
name: 'app',
|
||||||
file: 'public/build/bundle.js',
|
file: 'public/build/bundle.js',
|
||||||
|
|||||||
Reference in New Issue
Block a user