Skip to content

Commit

Permalink
fix: remove apollo devtools message from console
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Nov 16, 2024
1 parent 2865080 commit 154fe62
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
webpack: (config) => {
webpack: (config, {webpack}) => {
config.module.rules.push({
test: /\.mdx$/,
type: "asset/source",
});
config.plugins.push(
new webpack.DefinePlugin({
"globalThis.__DEV__": false,
})
);
return config;
},
async headers() {
Expand Down

0 comments on commit 154fe62

Please sign in to comment.