SUPPORT-8653 fixes

This commit is contained in:
kochetkov 2024-11-08 09:37:38 +03:00
parent 0600c27ee9
commit 6fd46a23c7
5 changed files with 1732 additions and 4994 deletions

View file

@ -1,10 +0,0 @@
{
"port": 8000,
"open": false,
"files": [
"./**/*.{html,htm,css,js}"
],
"server": {
"baseDir": "./"
}
}

File diff suppressed because it is too large Load diff

View file

@ -87,7 +87,6 @@
"del": "2.2.2",
"file-loader": "6.2.0",
"html-webpack-plugin": "5.6.0",
"lite-server": "2.3.0",
"mini-css-extract-plugin": "2.9.1",
"mkdirp": "3.0.1",
"raw-loader": "4.0.2",
@ -97,7 +96,6 @@
"typescript": "3.2.4",
"typescript-parser": "2.6.1-cg.2",
"webpack": "5.90.1",
"webpack-bundle-analyzer": "4.10.1",
"webpack-cli": "5.0.2"
}
}

View file

@ -3,7 +3,6 @@ const path = require('path');
const webpack = require('webpack');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const TerserPlugin = require('terser-webpack-plugin');
@ -91,7 +90,6 @@ module.exports = {
},
plugins: [
// new BundleAnalyzerPlugin(),
new HtmlWebpackPlugin({
template: 'index.webpack.html',
filename: 'index.html',
@ -105,7 +103,7 @@ module.exports = {
{from: 'src/resources/app-config.json', to: 'src/resources/app-config.json'},
{from: 'src/resources/app.version', to: 'src/resources/app.version'},
{from: 'src/resources/landing', to: 'src/resources/landing'}
]),
new MiniCssExtractPlugin({
filename: '[name].[fullhash].css',