I'm trying to use Bootstrap on GatsbyJs, but It keeps disapointing me.
Is there a real way to import bootstrap without this error? WebpackError: Cannot set property 'emulateTransitionEnd' of undefined.
The full error is the following:
  WebpackError: Cannot set property 'emulateTransitionEnd' of undefined
  - bootstrap.min.js:6
    ~/bootstrap/dist/js/bootstrap.min.js:6:2684
  - bootstrap.min.js:6
    ~/bootstrap/dist/js/bootstrap.min.js:6:2876
  - bootstrap.min.js:6 module.exports.data.site.siteMetadata.title
    ~/bootstrap/dist/js/bootstrap.min.js:6:16
  - bootstrap.min.js:6 Object.module.exports.data.site.siteMetadata.title
    ~/bootstrap/dist/js/bootstrap.min.js:6:236
  - index.js:16 Object.exports.__esModule
    src/layouts/index.js:16:1
  - index.js:3 Object.exports.__esModule
    .cache/layouts/index.js:3:3
  - sync-requires.js:6 Object.exports.__esModule
    .cache/sync-requires.js:6:35
Thanks
 
    