packages/cli: remove redundant eslint-loader from bundle config

This commit is contained in:
Patrik Oldsberg
2020-05-16 16:08:12 +02:00
parent 90aee3b1aa
commit 9c3de313fc
-11
View File
@@ -54,17 +54,6 @@ export function createConfig(options: BundlingOptions): webpack.Configuration {
},
module: {
rules: [
{
test: /\.(tsx?|jsx?|mjs)$/,
enforce: 'pre',
include: [paths.targetSrc, paths.targetDev],
use: {
loader: 'eslint-loader',
options: {
emitWarning: true,
},
},
},
{
test: /\.(tsx?)$/,
exclude: /node_modules/,