Skip to content

Commit 4ff5792

Browse files
authored
Merge pull request #36114 from software-mansion-labs/@kosmydel/fix-lottie-warning
[No QA] Ignore lottie warnings
2 parents f520f9c + c0fc24f commit 4ff5792

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/webpack/webpack.common.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ const webpackConfig = ({envFile = '.env', platform = 'web'}) => ({
5858
publicPath: '/',
5959
},
6060
stats: {
61-
warningsFilter: [],
61+
// We can ignore the "module not installed" warning from lottie-react-native
62+
// because we are not using the library for JSON format of Lottie animations.
63+
warningsFilter: ['./node_modules/lottie-react-native/lib/module/LottieView/index.web.js'],
6264
},
6365
plugins: [
6466
new CleanWebpackPlugin(),

0 commit comments

Comments
 (0)