Error when compiled using webpack compressing options
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 13.7k
- Fork
- 1.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I am using webpack 4 and uglifying my code for prod build. But, I get an error for the sql.js package on the prod build only, not in dev. Basically I get this error when trying to call any sql operations such creating a table or inserting rows.

Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Start by reproducing the webpack 4 production build with compression enabled, then compare it with the working development build while exercising table creation and row insertion in sql.js. The report names no source file, test, or entry point; done means the compressed production build completes and those SQL operations work without the reported error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, sqlite, webpack
- Ambito
- build-system, database
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100