Files
pezkuwi-sdk-ui/packages/apps/webpack.config.cjs
pezkuwichain d949863789 Initial commit: Pezkuwi SDK UI
Comprehensive web interface for interacting with Pezkuwi blockchain.

Features:
- Blockchain explorer
- Wallet management
- Staking interface
- Governance participation
- Developer tools

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 13:55:36 +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`)
})
]
}
);