From 8aeb145c6f380de496dc2496d989d9127ad09a9b Mon Sep 17 00:00:00 2001 From: spencerwooo Date: Wed, 2 Feb 2022 16:14:06 +0800 Subject: [PATCH] remove usused next configs --- next.config.js | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/next.config.js b/next.config.js index dfd9420..0d60710 100644 --- a/next.config.js +++ b/next.config.js @@ -1,26 +1,3 @@ module.exports = { - webpack: (config) => { - config.resolve.fallback = { fs: false, path: false, stream: false, constants: false }; - - // load worker files as a urls with `file-loader` - config.module.rules.unshift({ - test: /pdf\.worker\.(min\.)?js/, - use: [ - { - loader: "file-loader", - options: { - name: "[contenthash].[ext]", - publicPath: "_next/static/worker", - outputPath: "static/worker" - } - } - ] - }); - - return config; - }, reactStrictMode: true, - images: { - domains: ['public.dm.files.1drv.com'], - }, }