webpack / webpack-sources

Source code handling classes for webpack
MIT License
261 stars 71 forks source link

Harmony imports are not mapped #16

Closed Vanuan closed 7 years ago

Vanuan commented 7 years ago

You can't set a breakpoint to the import line. Only require works.

screenshot from 2017-04-03 01 07 20

sokra commented 7 years ago

import is not a statement, it's a declaration. You can't set breakpoints on declarations.

The spec says before starting to evaluate the source code all imports have to be resolved.