// next.config.js const withTM = require('next-transpile-modules')(['react-timezone-select']); module.exports = withTM({ ... })