2022-05-13 11:29:24 +00:00
|
|
|
|
|
|
|
// workaround for react financial charts
|
|
|
|
// https://github.com/react-financial/react-financial-charts/issues/606
|
|
|
|
const withTM = require('next-transpile-modules')([
|
|
|
|
'd3-array',
|
|
|
|
'd3-format',
|
|
|
|
'd3-time',
|
|
|
|
'd3-time-format',
|
|
|
|
'react-financial-charts',
|
|
|
|
'@react-financial-charts/annotations',
|
|
|
|
'@react-financial-charts/axes',
|
|
|
|
'@react-financial-charts/coordinates',
|
|
|
|
'@react-financial-charts/core',
|
|
|
|
'@react-financial-charts/indicators',
|
|
|
|
'@react-financial-charts/interactive',
|
|
|
|
'@react-financial-charts/scales',
|
|
|
|
'@react-financial-charts/series',
|
|
|
|
'@react-financial-charts/tooltip',
|
|
|
|
'@react-financial-charts/utils',
|
|
|
|
]);
|
|
|
|
|
2022-05-06 05:47:13 +00:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
const nextConfig = {
|
|
|
|
reactStrictMode: true,
|
|
|
|
}
|
|
|
|
|
2022-05-13 11:29:24 +00:00
|
|
|
module.exports = withTM(nextConfig);
|