フランソワ
フランソワ
DTDrizzle Team
Created by Headless on 4/8/2024 in #help
Issues with NextJS + Turso + DrizzleORM + LuciaAuth
something like this

// next.config.js
module.exports = {
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
config.module.rules.push({
test: /\.md$/,
include: [path.resolve(__dirname, 'node_modules')],
use: 'ignore-loader',
});
return config;
},
};

// next.config.js
module.exports = {
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
config.module.rules.push({
test: /\.md$/,
include: [path.resolve(__dirname, 'node_modules')],
use: 'ignore-loader',
});
return config;
},
};
13 replies
DTDrizzle Team
Created by Headless on 4/8/2024 in #help
Issues with NextJS + Turso + DrizzleORM + LuciaAuth
exclude the .md files from your nextJS build
13 replies