Skip to content

Commit e1a94d0

Browse files
authored
Remove old JS compiler page stubs (#7143)
1 parent af32758 commit e1a94d0

File tree

5 files changed

+8
-39
lines changed

5 files changed

+8
-39
lines changed

firebase.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,10 @@
421421
{ "source": "/tools/dart-pub", "destination": "/tools/pub/cmd", "type": 301 },
422422
{ "source": "/tools/dart-vm", "destination": "/tools/dart-run", "type": 301 },
423423
{ "source": "/tools/dart2aot", "destination": "/tools/dart-compile", "type": 301 },
424+
{ "source": "/tools/dart2js", "destination": "/tools/dart-compile#js", "type": 301 },
424425
{ "source": "/tools/dart2native", "destination": "/tools/dart-compile", "type": 301 },
425426
{ "source": "/tools/dartanalyzer", "destination": "/tools/dart-analyze", "type": 301 },
426-
{ "source": "/tools/dartdevc/**", "destination": "/tools/dartdevc", "type": 301 },
427+
{ "source": "/tools/dartdevc{,/**}", "destination": "/tools/webdev#serve", "type": 301 },
427428
{ "source": "/tools/dartdoc", "destination": "/tools/dart-doc", "type": 301 },
428429
{ "source": "/tools/dartdocgen{,/**}", "destination": "/tools/dart-doc", "type": 301 },
429430
{ "source": "/tools/dartfix", "destination": "/tools/dart-fix", "type": 301 },

src/content/resources/whats-new.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ we made the following changes to this site:
938938
* Documented for the deprecation and planned removal
939939
of the `dart2js` and `dartdevc` standalone tools.
940940
* Consolidated and clarified the documentation
941-
of [dart2js][] and [dartdevc][]
941+
of `dart2js` and `dartdevc`
942942
as the underlying compilers of tools like
943943
[`dart compile js`][] and [`webdev`][].
944944
* Increased documentation coverage of null safety:
@@ -984,8 +984,6 @@ we made the following changes to this site:
984984
[diagnostic messages]: /tools/diagnostic-messages
985985
[linter rules]: /tools/linter-rules
986986

987-
[dart2js]: /tools/dart2js
988-
[dartdevc]: /tools/dartdevc
989987
[`webdev`]: /tools/webdev
990988

991989
[Other operators]: /language/operators#other-operators

src/content/tools/dart-compile.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,13 @@ The `js` subcommand compiles Dart code to deployable JavaScript.
372372

373373
:::note
374374
Use the [`webdev` tool][webdev] rather than running the
375-
Dart-to-JavaScript compiler.
375+
Dart-to-JavaScript compiler directly.
376376

377-
* The [`webdev build`][] command, by default, produces minified, deployable JavaScript.
377+
* The [`webdev build`][] command, by default,
378+
produces minified, deployable JavaScript.
378379

379-
* The [`webdev serve`][] command, by default, produces JavaScript
380-
modules for running and debugging during development.
380+
* The [`webdev serve`][] command, by default,
381+
produces JavaScript modules for running and debugging during development.
381382
:::
382383

383384
{% render 'tools/dart-compile-js-options.md', site: site %}

src/content/tools/dart2js.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/content/tools/dartdevc.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)