datahub/examples/basic-example/next.config.js
2023-04-27 07:51:09 -03:00

18 lines
309 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
async rewrites() {
return {
beforeFiles: [
{
source: '/datasets/:file*.csv',
destination: '/:file*.csv',
},
]
}
}
}
module.exports = nextConfig