d-markey / squadron

Multithreading and worker thread pool for Dart / Flutter, to offload CPU-bound and heavy I/O tasks to Isolate or Web Worker threads.
https://pub.dev/packages/squadron
MIT License
79 stars 0 forks source link

Fix the dart to js parser code on the readme.md #12

Closed reiko-dev closed 2 years ago

reiko-dev commented 2 years ago

On the section Releasing Your App on the README.md file, the command to parse a dart file to Javascript is not accurate. It shows: dart compile js -o lib/src/browser/service_worker.dart web/service_worker.dart.js

But it should be like this: dart compile js lib/src/browser/service_worker.dart -o web/service_worker.dart.js

The -o indicates the path to the compiled js file, right?

Edit: I just saw that i'm in the samples repo, but the issue is still valid, not for this repo, but for the package one.

d-markey commented 2 years ago

Hi, that's right! Correction in progress, thanks