Skip to content Skip to sidebar Skip to footer

How To Use Dynamic Import In Typescript With Webpack Application

I have import some of my modules dynamically based on button click, i have used like below' my webpack config file: when i compile and run my application it throws below error

Solution 1:

The whole logic seems weird for me. If you use a module just import it and then use it under certain conditions or after event is triggered


Post a Comment for "How To Use Dynamic Import In Typescript With Webpack Application"