Skip to content

JavaScript filename does not match Dart filename #3320

@DartBot

Description

@DartBot

This issue was originally filed by @bp74


What steps will reproduce the problem?

  1. Create a new Application, call it "Test"
  2. Compile the Dart file to JavaScript
  3. Look at the js-File

What is the expected output? What do you see instead?

If the name of the Dart file is "Test.dart", then the name of the JavaScript file should be "Test.dart.js". Unfortunately the file name is "test.dart.js" (look at the lower case "t" in the beginning).

The problem is that the js-file can't be loaded when you upload it to a web server. Because the "dart.js" script replaces the "Test.dart" script with "Test.dart.js" and this file does not exist.

What version of the product are you using? On what operating system?

Dart Editor Build 8124 32 bit, Windows 7 64 bit

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions