-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it is unclear where webdev emits its output files #1450
Comments
Please take a look at the getting started guide: 😄 |
It would be less confusing if --output were mandatory for build and maybe even for serve. Keep in mind that people are switching from pub build and pub serve and since the commands Furthermore, the main landing page for the migration: |
I think for The build package itself will likely never do this though because its a general build system and is not opinionated in the same way as webdev or pub were. You can generate files directly to source as well in which case --output is completely unnecessary.
Yes, |
Tracking issue for webdev: dart-lang/webdev#27 |
For Dart VM version: 2.0.0-dev.55.0 on linux
When I run
webdev build --release
I see:
[INFO] Initializing inputs
[INFO] Building new asset graph...
[INFO] Building new asset graph completed, took 585ms
[INFO] Checking for unexpected pre-existing outputs....
[INFO] Checking for unexpected pre-existing outputs. completed, took 1ms
[INFO] Running build...
[INFO] 4.4s elapsed, 6/10 actions completed.
[INFO] build_web_compilers|entrypoint on web/whorld.dart:Running dart2js with --minify --packages=.package-aab36fb7f7cc0560c962b151b18884a5 -oweb/whorld.dart.js web/whorld.dart
[INFO] 6.0s elapsed, 17/18 actions completed.
[INFO] 7.1s elapsed, 17/18 actions completed.
[INFO] build_web_compilers|entrypoint on web/whorld.dart:Dart2Js finished with:
Compiled 8,971,799 characters Dart to 144,422 characters JavaScript in 2.71 seconds
Dart file (web/whorld.dart) compiled to JavaScript: web/whorld.dart.js
[INFO] Running build completed, took 8.2s
[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 121ms
[INFO] Succeeded after 8.4s with 14 outputs (1313 actions)
But where does the output really go?
It looks some artifacts go under .dart_tool which is super obscure
an there seems to be no single directory that combines .html and .dart.js
for easy webserving.
The text was updated successfully, but these errors were encountered: