mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
17 lines
308 B
JavaScript
17 lines
308 B
JavaScript
const withTM = require('next-transpile-modules')
|
|
([
|
|
'@react-spring/three',
|
|
'@react-spring/web',
|
|
])
|
|
|
|
module.exports = withTM({
|
|
webpack5: false,
|
|
webpack: (config, options) => {
|
|
config.module.rules.push({
|
|
test: /react-spring/,
|
|
sideEffects: true,
|
|
})
|
|
return config
|
|
},
|
|
})
|