[FIX] Fix errors on test on production ci build
This commit is contained in:
parent
c681346dee
commit
ea3dce8942
|
@ -1,3 +1,5 @@
|
|||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
||||
|
||||
// Note: You must restart bin/webpack-dev-server for changes to take effect
|
||||
console.log('Running in development mode'); // eslint-disable-line no-console
|
||||
|
||||
|
@ -112,4 +114,7 @@ module.exports = merge(sharedConfig, {
|
|||
},
|
||||
proxy: makeProxyConfig(),
|
||||
},
|
||||
plugins: [
|
||||
new ForkTsCheckerWebpackPlugin({ typescript: { memoryLimit: 8192 } }),
|
||||
]
|
||||
});
|
||||
|
|
|
@ -4,7 +4,6 @@ const fs = require('fs');
|
|||
const { join, resolve } = require('path');
|
||||
|
||||
const CopyPlugin = require('copy-webpack-plugin');
|
||||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
||||
const HtmlWebpackHarddiskPlugin = require('html-webpack-harddisk-plugin');
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
|
@ -89,7 +88,6 @@ module.exports = {
|
|||
new webpack.ProvidePlugin({
|
||||
process: 'process/browser',
|
||||
}),
|
||||
new ForkTsCheckerWebpackPlugin({ typescript: { memoryLimit: 8192 } }),
|
||||
new MiniCssExtractPlugin({
|
||||
filename: 'packs/css/[name]-[contenthash:8].css',
|
||||
chunkFilename: 'packs/css/[name]-[contenthash:8].chunk.css',
|
||||
|
|
Loading…
Reference in a new issue