hybriel
An imported name that is a JavaScript reserved word breaks the browser module
opened by Anton · assigned to Caramboleyo
opened · updated
import { var } from './local.hl' is written into the browser module as a bare var, which does not parse.
History
Anton opened the ticket Anton changed the state review Fixed: a reserved word as an imported name is renamed in the browser module, so the page loads. Test:
import { var } from './x.hl'in a component; the page loads without a console error.
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.