Babelify config for Browserify does not work with rc10
See original GitHub issueI 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.
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (10 by maintainers)
Top Results From Across the Web
I think I"m missing something on how this works #268 - GitHub
Browserify doesn't run transforms (including babelify) on dependencies in node_modules by default, because npm modules should be self contained ...
Read more >How to get babelify 10 to target a browser - Stack Overflow
I've tried require("babelify").configure. I've tried having a file named babel.config.json, .babelrc, and .babelrc.json in the working directory ...
Read more >Supported technologies: Browserify - Wallaby.js
loadTests() call in setup function. Node modules should not be listed in the files list; they are loaded automatically. The order of source...
Read more >Gsap + Typescript + Browserify + Babelify Compilation Not ...
I've installed and imported GSAP and @types/gsap, and my file.ts import it well, but when i run gulp with the Typescript Gulp Configuration...
Read more >bankai - NPM Package Overview - Socket - Socket.dev
No configuration, and no hassle - that's our promise. ... Feel free to file an issue: https://github.com/choojs/bankai/issues/new Do you enjoy using this ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Works-a like-a deh charm-a! (Mario voice)
🙏 thanks y’allz are super.
Oh, well don’t mind me then, that sounds perfect 😄 .