Turn on ForkTsCheckerWebpackPlugin in react admin
This commit is contained in:
parent
841692d14d
commit
0308873d79
|
@ -8,7 +8,7 @@ const CustomTemplatedPathPlugin = require( '@wordpress/custom-templated-path-web
|
|||
const BundleAnalyzerPlugin = require( 'webpack-bundle-analyzer' )
|
||||
.BundleAnalyzerPlugin;
|
||||
const MomentTimezoneDataPlugin = require( 'moment-timezone-data-webpack-plugin' );
|
||||
// const ForkTsCheckerWebpackPlugin = require( 'fork-ts-checker-webpack-plugin' );
|
||||
const ForkTsCheckerWebpackPlugin = require( 'fork-ts-checker-webpack-plugin' );
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
|
@ -140,8 +140,7 @@ const webpackConfig = {
|
|||
plugins: [
|
||||
...styleConfig.plugins,
|
||||
// Runs TypeScript type checker on a separate process.
|
||||
// Disable TS checker for now as it will block all development until all type inconsistencies are fixed
|
||||
// new ForkTsCheckerWebpackPlugin(),
|
||||
new ForkTsCheckerWebpackPlugin(),
|
||||
new CustomTemplatedPathPlugin( {
|
||||
modulename( outputPath, data ) {
|
||||
const entryName = get( data, [ 'chunk', 'name' ] );
|
||||
|
|
Loading…
Reference in New Issue