Serve markdown assets via /assets
This commit is contained in:
@@ -4,6 +4,16 @@ import { withContentlayer } from 'next-contentlayer';
|
||||
const nextConfig = {
|
||||
images: {
|
||||
remotePatterns: []
|
||||
},
|
||||
webpack: (config) => {
|
||||
config.ignoreWarnings = [
|
||||
...(config.ignoreWarnings || []),
|
||||
// Contentlayer dynamic import / cache analysis warnings
|
||||
/@contentlayer\/core[\\/]dist[\\/]dynamic-build\.js/,
|
||||
/@contentlayer\/core[\\/]dist[\\/]getConfig[\\/]index\.js/,
|
||||
/@contentlayer\/core[\\/]dist[\\/]generation[\\/]generate-dotpkg\.js/
|
||||
];
|
||||
return config;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user