gatsby build is always failing on this line List.name='List'
of reactstrap. I tried different solutions but not helpful.
- reactstrap version 9.0.1 - gatsby version ^3.14.4 - bootstrap version 5
gatsby build is always failing on this line List.name='List'
of reactstrap. I tried different solutions but not helpful.
- reactstrap version 9.0.1 - gatsby version ^3.14.4 - bootstrap version 5
Have you tried adding a null loader to bypass SSR?
exports.onCreateWebpackConfig = ({ actions, loaders, getConfig }) => {
actions.setWebpackConfig({
module: {
rules: [
{
test: /reactstrap/,
use: loaders.null(),
},
],
},
})
}
Change reactstrap
for the exact folder name in node_modules
.