-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Forgets to export the namespace #28
Comments
I think you're right. sounds like a bug, or markdown-toc is using an unsupported format and needs to be updated. I'll take a look |
hmm, what version of markdown-toc is causing the issue? |
It's 0.12.3, the latest. |
@jeremejevs are you using There's a test fixture that is using the same signature as |
Yep, 0.1.1, installed it today. I've done a quick test, to make sure that The |
How are you testing this? Is it happening when using |
This is in a normal development setup (with hot-loading, source maps, whole shebang). Here's what I'm observing in the browser (using Chrome development tools, I can browse module sources):
I had my doubts about this being Webpack's / my config's fault, until I tried |
@jeremejevs thank you for trying out different scenarios. I added the |
Can confirm, it's fixed now. Much appreciated! |
In
markdown-toc
,module.exports
is missing after the transformation. Seems likeunlazy-loader
is expecting some other convention.In case anybody else stumbles into this before it's fixed, here's my current workaround:
exports-loader
merely appendsmodule.exports = utils;
to the end of the matching files.The text was updated successfully, but these errors were encountered: