stealjs / steal-less

A less plugin for StealJS
https://www.npmjs.com/package/steal-less
MIT License
4 stars 2 forks source link

Files loaded multiple times #18

Closed akagomez closed 8 years ago

akagomez commented 8 years ago

I have @import "path/to/bootstrap.less" in a few different files:

Originall posted here: https://github.com/stealjs/steal-css/issues/14

matthewp commented 8 years ago

@akagomez I checked into this and am not able to recreate so far. I added a test project to this gist: https://gist.github.com/matthewp/49afc2ffa4f60d2ec062835e678b72f4

screen shot 2016-05-16 at 4 45 10 pm

matthewp commented 8 years ago

One thing that is different is the Initiator tab, mine says only "steal.js" or "less-engine.js" which makes sense, those things are what fetches less files. Yours says "tasks.js", any idea what this file is?

matthewp commented 8 years ago

Seeing that this can happen if you import less in JavaScript and also import it in a .less file. cc @ccummings