INFRA-2668 | add new card for dump

This commit is contained in:
dhruvjoshi
2024-02-13 16:05:08 +05:30
parent eef9e9d3c0
commit 242b908f9a
6 changed files with 378 additions and 211 deletions

View File

@@ -4,8 +4,13 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const CopyPlugin = require('copy-webpack-plugin');
module.exports = {
target: 'web',
entry: {
main: './src/index.tsx',
entry:[
'./src/index.tsx',
'whatwg-fetch',
'core-js/features/promise',
],
},
resolve: {
extensions: ['.ts', '.tsx', '.js', '.jsx', '.css', '.scss'],
@@ -18,7 +23,7 @@ module.exports = {
proxy: [{
context: ['/api', '/oauth2', '/login'],
target: 'http://localhost:8080',
}]
}],
},
output: {
path: path.join(__dirname, '/dist'),
@@ -41,12 +46,12 @@ module.exports = {
},
},
{
test: /\.css$/i,
test: /\.css$/,
use: [MiniCssExtractPlugin.loader, "css-loader"],
},
{
test: /\.scss$/i,
use: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"],
test: /\.scss$/,
use: [MiniCssExtractPlugin.loader, "sass-loader"],
},
],
},