mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 01:05:15 +00:00
d9742b7412
see also: - https://github.com/pmndrs/react-spring/issues/1078 - https://github.com/plouc/nivo/issues/1290
17 lines
279 B
JavaScript
17 lines
279 B
JavaScript
const withTM = require('next-transpile-modules')
|
|
([
|
|
'@react-spring/three',
|
|
'@react-spring/web',
|
|
])
|
|
|
|
module.exports = withTM({
|
|
webpack: config => {
|
|
config.module.rules.push({
|
|
test: /react-spring/,
|
|
sideEffects: true,
|
|
})
|
|
|
|
return config
|
|
},
|
|
})
|