Skip to content

Commit 302e5ee

Browse files
optimize webworker filesize
1 parent 92d7390 commit 302e5ee

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

demos/supabase-todolist/pubspec.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -558,9 +558,10 @@ packages:
558558
sqlite_async:
559559
dependency: "direct main"
560560
description:
561-
path: "../../../sqlite_async.dart"
562-
relative: true
563-
source: path
561+
name: sqlite_async
562+
sha256: "91f454cddc85617bea2c7c1544ff386887d0d2cf0ecdb3599015c05cc141ff4d"
563+
url: "https://pub.dev"
564+
source: hosted
564565
version: "0.7.0-alpha.1"
565566
stack_trace:
566567
dependency: transitive

packages/powersync_web_worker/bin/compile_webworker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Future<void> main() async {
2121
'js',
2222
'-o',
2323
outputPath,
24-
'-O0',
24+
'-O4',
2525
workerSourcePath,
2626
],
2727
workingDirectory: cwd);

0 commit comments

Comments
 (0)