From 0117777105da548da62db2fb80702fc337c386cd Mon Sep 17 00:00:00 2001 From: Ryan Trinkle Date: Mon, 3 Jul 2023 15:55:36 -0400 Subject: [PATCH] Fixes --- src/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index 3aba14d..7314a91 100644 --- a/src/index.js +++ b/src/index.js @@ -7,16 +7,14 @@ module.exports = (nextConfig = {}) => { ); } - const { dir, defaultLoaders, dev, isServer } = options; + const { dir, dev, isServer } = options; config.module.rules.push({ test: /\.(cabal)$/, - include: [dir], - exclude: /dist-newstyle/, use: [ { loader: 'haskell-loader', - options: { dev: false, isServer }, + options: { dev, isServer }, }, ], });