Skip to content

Commit 2638333

Browse files
Merge pull request #821 from aspeddro/fix-next-warnings
remove some warnings
2 parents ddccc13 + b443c22 commit 2638333

File tree

8 files changed

+9
-695
lines changed

8 files changed

+9
-695
lines changed

next.config.mjs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,8 @@ const config = {
2929
path: false,
3030
};
3131
}
32-
// We need this additional rule to make sure that mjs files are
33-
// correctly detected within our src/ folder
34-
config.module.rules.push({
35-
test: /\.m?js$/,
36-
// v-- currently using an experimental setting with esbuild-loader
37-
//use: options.defaultLoaders.babel,
38-
use: [{ loader: "esbuild-loader", options: { loader: "jsx" } }],
39-
exclude: /node_modules/,
40-
type: "javascript/auto",
41-
resolve: {
42-
fullySpecified: false,
43-
},
44-
});
4532

46-
function mainMdxLoader(plugins) {
33+
function mainMdxLoader() {
4734
return [
4835
createLoader(function(source) {
4936
const result = `${source}\n\nMDXContent.frontmatter = frontmatter`;

0 commit comments

Comments
 (0)