Why is JSPM not bundling the dependencies of the bundled module?

33 Views Asked by At

I'm trying to bundle my app like jspm bundle myapp/index.jsx --dev for development where my index.jsx has some imports..

import React from 'react'
import { store } from './store'
...

When I actually navigate to my application I can clearly see in the network tab that my reducers that are presently being imported inside of store.js are being loaded separately instead of as part of the build.js bundle produced.

Do I need to use bundling arithmetic to explicitly include these dependencies inside of my store? I thought the bundling was supposed to go through all the dependencies inside the module, bundling them inclusively?

0

There are 0 best solutions below