INFRA-2668 | add new card for dump
This commit is contained in:
@@ -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"],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user