New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@loader not defined in slim build #856
Comments
@pYr0x were you able to replicate this in a small app? A breaking example would be awesome. The slim build should add an "@loader" shim right after "@steal" is added around here https://github.com/stealjs/steal-tools/blob/master/lib/build/slim.js#L64 Line 64 in 34fe1cf
|
I just hit this issue 🎉 :| |
was what it? |
There is a stream called That stream also sets a normalize hook so the module identifiers are replaced by transpile steal-tools/lib/stream/add_module_ids.js Lines 31 to 36 in 34fe1cf
So, we pretty much push the I had to change the function to check if makes sense? |
this PR and this line cause an error after build
https://github.com/stealjs/steal-tools/pull/850/files#diff-970f87aa3e6b874cd244518372a6e3f5R90
moduleId
is@loader
which is not defined.the transpiled code looks like this:
The text was updated successfully, but these errors were encountered: