mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 09:15:15 +00:00
18 lines
378 B
JavaScript
18 lines
378 B
JavaScript
const withTM = require('next-transpile-modules')
|
|
([
|
|
'@react-spring/three',
|
|
'@react-spring/web',
|
|
])
|
|
|
|
module.exports = withTM({
|
|
// disable webpack 5 to make it compatible with the following rules
|
|
webpack5: false,
|
|
webpack: (config, options) => {
|
|
config.module.rules.push({
|
|
test: /react-spring/,
|
|
sideEffects: true,
|
|
})
|
|
return config
|
|
},
|
|
})
|