mirror of
https://github.com/pezkuwichain/pezkuwi-sdk-ui.git
synced 2026-06-13 23:21:11 +00:00
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>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
// Copyright 2017-2025 @polkadot/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable camelcase */
|
||||
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const path = require('path');
|
||||
const { merge } = require('webpack-merge');
|
||||
|
||||
const baseConfig = require('../apps/webpack.base.cjs');
|
||||
|
||||
const context = __dirname;
|
||||
|
||||
module.exports = merge(
|
||||
baseConfig(context, 'development'),
|
||||
{
|
||||
plugins: [
|
||||
// It must be placed before HtmlWebpackPlugin
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [{
|
||||
from: '../apps/public',
|
||||
globOptions: {
|
||||
dot: true,
|
||||
ignore: ['**/index.html']
|
||||
}
|
||||
}]
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
PAGE_TITLE: 'Polkadot/Substrate Portal',
|
||||
minify: false,
|
||||
template: path.join(context, '../apps/public/index.html')
|
||||
})
|
||||
],
|
||||
target: 'web'
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user