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
Hi, im doing research about react-native + react-native-web + webpack and I find your tutorial very helpful! I did find that the url-loader configuration used inside webpack.config.js is depcreated in webpack v5 (https://webpack.js.org/guides/asset-modules/ & https://v4.webpack.js.org/loaders/url-loader/).
I believe imageLoaderConfiguration can be replaced by the following: const imageLoaderConfiguration = { test: /\.(gif|jpe?g|png)$/, type: 'asset', };
imageLoaderConfiguration
const imageLoaderConfiguration = { test: /\.(gif|jpe?g|png)$/, type: 'asset', };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, im doing research about react-native + react-native-web + webpack and I find your tutorial very helpful! I did find that the url-loader configuration used inside webpack.config.js is depcreated in webpack v5 (https://webpack.js.org/guides/asset-modules/ & https://v4.webpack.js.org/loaders/url-loader/).
I believe
imageLoaderConfiguration
can be replaced by the following:const imageLoaderConfiguration = { test: /\.(gif|jpe?g|png)$/, type: 'asset', };
The text was updated successfully, but these errors were encountered: