mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 14:47:58 +00:00
feat: initial Pezkuwi Apps rebrand from polkadot-apps
Rebranded terminology: - Polkadot → Pezkuwi - Kusama → Dicle - Westend → Zagros - Rococo → PezkuwiChain - Substrate → Bizinikiwi - parachain → teyrchain Custom logos with Kurdistan brand colors (#e6007a → #86e62a): - bizinikiwi-hexagon.svg - sora-bizinikiwi.svg - hezscanner.svg - heztreasury.svg - pezkuwiscan.svg - pezkuwistats.svg - pezkuwiassembly.svg - pezkuwiholic.svg
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
// 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/Bizinikiwi Portal',
|
||||
minify: false,
|
||||
template: path.join(context, `${hasPublic ? 'public/' : ''}index.html`)
|
||||
})
|
||||
]
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user