Closed m-mujica closed 7 years ago
I've been also thinking about the scenario where someone imports a module like
import '#{foo}';
With my current changes, we'd glob for the root project folder and the number of matches will be pretty big. I guess we can document that doing this is a bad idea, can we do better?
So, I'm trying a slightly different approach for the string interpolation
import 'foo/#{bar}'
, we normalize foo
)loader.bundle
This is working fine, I'm steal dealing with the problem of steal loading dist/glob
on production mode when the app is minified, I noticed the error doesn't happen if minify is set to false
.
Closes #22
so @matthewp I have a couple of issues getting to work this:
path
andglob
. I added them tonpmIgnore
but that doesn't seem to work; here is a branch on the sample app https://github.com/m-mujica/steal-conditional-interpolation-example/tree/new-conditional, I wonder how can I prevent steal to try to load themdist/{module_name}
https://github.com/m-mujica/steal-conditional-interpolation-example/tree/relative-importdo you see anything in the code that might be easier to approach in a different way?