From 084ac4daef8eb1c53df884b4ed3c1ea2bb9fad17 Mon Sep 17 00:00:00 2001 From: DublikuntMux Date: Tue, 28 Jul 2026 22:46:11 +0300 Subject: [PATCH] Include no_sleep.js only on web builds --- wakelock_plus/pubspec.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wakelock_plus/pubspec.yaml b/wakelock_plus/pubspec.yaml index e0f4c4f..098394c 100644 --- a/wakelock_plus/pubspec.yaml +++ b/wakelock_plus/pubspec.yaml @@ -99,4 +99,6 @@ flutter: # https://flutter.dev/custom-fonts/#from-packages assets: - - packages/wakelock_plus/assets/no_sleep.js \ No newline at end of file + - path: packages/wakelock_plus/assets/no_sleep.js + platforms: + - web