Comments (10)
@yamafaktory thanks
from shrimpit.
The same problem. Is anybody going to fix it?
@yamafaktory ?
from shrimpit.
Hi, I'll have a look at it. I'm pretty sure this can be easily fixed by updating the dependencies 🤞.
from shrimpit.
Alright, we need to use the new @babel/parser & @babel/traverse modules since everything has been reworked in the Babel ecosystem. Hopefully, I've it already working in a branch, just need a small additional tweak for the decorators plugin (not sure to keep it...). It should then parse React Fragments right without any issue 🚀.
from shrimpit.
@Eugen-Ask & @underblob sorry for the late support... The issue has been addressed in https://github.com/yamafaktory/shrimpit/releases/tag/v0.21.0. Please give it a try so that I can close that issue 👍.
from shrimpit.
I'm closing the issue. Feel free to reopen it if this shows up again 👍 .
from shrimpit.
Hi @yamafaktory sorry for the delay getting back to you. I did a quick run with...
npx shrimpit ./src
...still seeing the syntax error on fragment tags. Was the NPM registry updated to the latest?
from shrimpit.
OK seems like that's the problem. The NPM registry has version 0.20: https://www.npmjs.com/package/shrimpit
from shrimpit.
npx https://github.com/yamafaktory/shrimpit\#v0.21.0 ./src
LGTM, thanks @yamafaktory!
from shrimpit.
Oh my bad... @underblob https://github.com/yamafaktory/shrimpit/tree/v0.21.1 has been released & published to NPM this time 😅.
from shrimpit.
Related Issues (20)
- Add --help HOT 2
- Re-exports support HOT 2
- Error while trying to run it HOT 3
- namespace-imports TypeError HOT 1
- Work with UMD? HOT 2
- Not working at all HOT 5
- Can we get a --fix flag? HOT 1
- create vscode plugin HOT 1
- Doesn't resolve index.js files correctly HOT 5
- Work with Webpack Resolvers HOT 5
- Default exported class is not picked up correctly HOT 10
- Wrong output if exports use the same name HOT 3
- Statements inside class property functions are picked up as unused exports HOT 6
- Static class property leades to shrimpit exception HOT 2
- Renamed imports lead to unused exports HOT 3
- Named function expression is mistaken for an export HOT 2
- Version 10 of node.js has been released
- fails HOT 1
- Glob input? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shrimpit.