Skip to content

Commit

Permalink
keeping conformance plugin behind an experimental flag
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekbh committed Jan 13, 2020
1 parent f94eb3e commit 88f73a7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/next/build/webpack-config.ts
Expand Up @@ -44,9 +44,6 @@ import { ProfilingPlugin } from './webpack/plugins/profiling-plugin'
import { ReactLoadablePlugin } from './webpack/plugins/react-loadable-plugin'
import { ServerlessPlugin } from './webpack/plugins/serverless-plugin'
import { TerserPlugin } from './webpack/plugins/terser-webpack-plugin/src/index'
import WebpackConformancePlugin, {
MinificationConformanceCheck,
} from './webpack/plugins/webpack-conformance-plugin'

type ExcludesFalse = <T>(x: T | false) => x is T

Expand Down Expand Up @@ -822,9 +819,6 @@ export default async function getBaseWebpackConfig(
chunkFilename: (inputChunkName: string) =>
inputChunkName.replace(/\.js$/, '.module.js'),
}),
new WebpackConformancePlugin({
tests: [new MinificationConformanceCheck()],
}),
].filter((Boolean as any) as ExcludesFalse),
}

Expand Down

0 comments on commit 88f73a7

Please sign in to comment.