Open ullmark opened 6 years ago
Is this Repo dead?
I get the error Cannot find module '@babel/runtime/helpers/interopRequireDefault'
. Looks like it does need @babel/runtime
. Manually installing @babel/runtime
allows it to work, though.
@elliottregan strange that you needed to manually install @babel/runtime
since it is a dependency in package.json
...
I've tried using the fork in a project and got no issues. I can try again to make sure no updates in other packages are causing an issue.
re. this repo being dead; I doubt it. But yeah, would be nice to get Babel 7 support in. 😄
@elliottregan I've updated my test project with the latest dependencies, and also threw babelify
into the mix but my (simple) project works fine without seeing that issue.
Great job @ullmark, too bad this repo looks like tumbleweeds rolling on the desert
This pull requests adds support for Babel 7.0. What I did was
npx babel-uppgrade --write
babel-core
and others with@babel/core
babel-preset-es2015
with@babel/preset-env
as suggested in v7 upgrade manualAll tests run, and I've also tried installing the fork in a super simple test project using the following configs
.browserlistrc
.babelrc
Running
browserify -t vueify -e src/main.js -o build/build.js
produced a working output.The
@babel/runtime
package had changed a bit, and couldn't require it similarly to the old codebase, but I found that it wasn't needed.Have a look!