mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
17 lines
362 B
JavaScript
17 lines
362 B
JavaScript
/** used to transpile UMD and CJS modules */
|
|
const withTM = require('next-transpile-modules')(['ramda']);
|
|
|
|
module.exports = withTM({
|
|
/** rewrite old-style node paths */
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/post:id',
|
|
destination: '/node/:id',
|
|
},
|
|
];
|
|
},
|
|
|
|
/** don't try to optimize fonts */
|
|
optimizeFonts: false,
|
|
});
|