We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Module parse failed: Unexpected token (52: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 | } | > static propTypes = { | isOn: PropTypes.bool.isRequired, | label: PropTypes.string,
babel.config.js
module.exports = function (api) { api.cache(true); return { presets: ["babel-preset-expo"], plugins: [ "@babel/plugin-proposal-class-properties", [ "babel-plugin-inline-import", { extensions: [".svg"], }, ], ], }; };
The text was updated successfully, but these errors were encountered:
You probably need to transpile the module. If you're using Next, you can try this: https://www.npmjs.com/package/next-transpile-modules
Sorry, something went wrong.
@mkrn I can confirm that using https://www.npmjs.com/package/next-transpile-modules in Next.js 10.1 works :)
No branches or pull requests
babel.config.js
The text was updated successfully, but these errors were encountered: