blob: 01936a44029d6c8ce77053bffd7a88b575d74367 (
about) (
plain)
1
2
3
4
5
6
7
8
9
|
const fs = require('fs')
/* eslint-disable @typescript-eslint/no-var-requires, immutable/no-mutation */
const withPlugins = require('next-compose-plugins')
const d3packages = fs.readdirSync('node_modules').filter(name => name.startsWith('d3-'))
const withTM = require('next-transpile-modules')(d3packages)
module.exports = withPlugins([withTM])
|