Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rn-sliding-up-panel not showing causin javascript bundling fail when opening web #210

Open
naveedmm opened this issue Feb 10, 2022 · 0 comments

Comments

@naveedmm
Copy link

Used in react native bare workflow.

Using this package to create sliders over maps.

Babel Configuration is default from expo
module.exports = function(api) { api.cache(true); return { presets: ['babel-preset-expo'], }; };

=> Works fine in android build

=> but web bundling gives this error

Error

./node_modules/rn-sliding-up-panel/SlidingUpPanel.js 37:19
Module parse failed: Unexpected token (37:19)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| class SlidingUpPanel extends React.PureComponent {

static propTypes = {
| height: PropTypes.number,
| animatedValue: PropTypes.instanceOf(Animated.Value),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant