➕ Add sqlite3 dependency
This commit is contained in:
8
lib/database/drift_worker.dart
Normal file
8
lib/database/drift_worker.dart
Normal file
@ -0,0 +1,8 @@
|
||||
import 'package:drift/wasm.dart';
|
||||
|
||||
// Use `dart compile js -O4 ./drift_worker.dart` to compile this file.
|
||||
// And place it in the web/ directory.
|
||||
|
||||
// When compiled with dart2js, this file defines a dedicated or shared web
|
||||
// worker used by drift.
|
||||
void main() => WasmDatabase.workerMainForOpen();
|
Reference in New Issue
Block a user