Files
pwap/pezkuwi-sdk-ui/packages/apps/webpack.config.cjs
T
pezkuwichain 4a3694c831 Fix all shadow deprecation warnings across entire mobile app
- Replaced shadowColor/shadowOffset/shadowOpacity/shadowRadius with boxShadow
- Fixed 28 files (21 screens + 7 components)
- Preserved elevation for Android compatibility
- All React Native Web deprecation warnings resolved

Files fixed:
- All screen components
- All reusable components
- Navigation components
- Modal components
2026-01-14 15:05:10 +03:00

32 lines
906 B
JavaScript

// Copyright 2017-2025 @polkadot/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
const fs = require('fs');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');
const { merge } = require('webpack-merge');
const { SubresourceIntegrityPlugin } = require('webpack-subresource-integrity');
const baseConfig = require('./webpack.base.cjs');
const context = __dirname;
const hasPublic = fs.existsSync(path.join(context, 'public'));
module.exports = merge(
baseConfig(context),
{
devtool: process.env.BUILD_ANALYZE ? 'source-map' : false,
output: {
crossOriginLoading: 'anonymous'
},
plugins: [
new SubresourceIntegrityPlugin(),
new HtmlWebpackPlugin({
PAGE_TITLE: 'Pezkuwi Explorer',
minify: false,
template: path.join(context, `${hasPublic ? 'public/' : ''}index.html`)
})
]
}
);