# Steal-tools with steal.import

**URL:** <https://forums.bitovi.com/t/steal-tools-with-steal-import/566>\
**Category:** StealJS\
**Created:** [February 27, 2017, 3:56pm UTC](https://forums.bitovi.com/t/steal-tools-with-steal-import/566 "2017-02-27T15:56:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fp\_dev](https://avatars.discourse-cdn.com/v4/letter/f/13edae/32.png) [@fp\_dev](https://forums.bitovi.com/u/fp_dev)\
**Post date:** [February 27, 2017, 3:56pm UTC](https://forums.bitovi.com/t/steal-tools-with-steal-import/566/1 "2017-02-27T15:56:23Z")

</div>

Hi everybody,

I have a problem with steal-tools when building my application.  
In details, steal-tools work great when I have to import modules that uses AMD/ES6 (import/require) or using the `<can-import from="/path/to/module" />` tag in the stache template, but I cannot figure out how to properly build the application when I want to dinamically load the module, using steal.import(“moduleName”).done() command.

When I use the steal.import() way, since it’s done at run-time, the required file will be missing.

Is there any way to solve this using steal-tools?

Thank you.

---

<div class="post-metadata">

**Author:** ![phillipskevin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/phillipskevin/32/102_2.png) [@phillipskevin](https://forums.bitovi.com/u/phillipskevin)\
**Post date:** [February 27, 2017, 4:21pm UTC](https://forums.bitovi.com/t/steal-tools-with-steal-import/566/2 "2017-02-27T16:21:20Z")

</div>

Hi @fp_dev, you probably need to set the `bundle` option in your build configuration so that steal-tools will create bundles for each of the modules you’re progressively loading.

Take a look at [https://stealjs.com/docs/StealJS.guides.progressive\_loading.html](https://stealjs.com/docs/StealJS.guides.progressive_loading.html) and [https://stealjs.com/docs/config.bundle.html](https://stealjs.com/docs/config.bundle.html).

---

<div class="post-metadata">

**Author:** ![fp\_dev](https://avatars.discourse-cdn.com/v4/letter/f/13edae/32.png) [@fp\_dev](https://forums.bitovi.com/u/fp_dev)\
**Post date:** [February 28, 2017, 4:02pm UTC](https://forums.bitovi.com/t/steal-tools-with-steal-import/566/3 "2017-02-28T16:02:28Z")

</div>

Thank you @phillipskevin! This solve my issue! Great!
