I use the following Browserify config:
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"env"
]
}
]
]
}
And Bankai can't parse the import syntax:
Failed while processing 'scripts'.
--> index.js:2:1
|
2 | import { html, render } from 'lit-html';
| ^ Syntax Error
Hmmm. We're having trouble parsing a file.
The necessary modules are installed.