Fixes
This commit is contained in:
parent
e7db73be3e
commit
0117777105
@ -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 },
|
||||
},
|
||||
],
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user