How to check dynamic import is working or not?

We are working on dynamic import and we are following below references:-


https://blog.meteor.com/meteor-1-5-react-loadable-f029a320e59c
http://thejameskyle.com/react-loadable.html

We are using following packages:-
bundle-visualizer@1.0.3
dynamic-import@0.1.1

while inspecting the web page and click on network, inside websocket we are not getting something like “_dynamicImport”

Please suggest how we can check dynamic import is working or not.

Thanks

How to Profile Meteor JavaScript Bundle?

This section in the article explains it

Hi, Thanks for your reply.
We have already gone through that section and done visualization as well as reduction in app’s bundle size(from around 3.5 MB to 1.6 MB ).
Qs is about dynamicImport cache observation. After Importing modules dynamically, we were suppose to view the websocket frames for dynamicImport data, but are not able to observe anything there.

1 Like

Any suggestion/comment on this?