Skip to content

Conversation

pamo
Copy link
Collaborator

@pamo pamo commented Oct 4, 2016

I have been looking at this but not sure how to fully test https://webpack.github.io/docs/how-to-write-a-loader.html


const config = loaderUtils.getLoaderConfig(this, 'requirejsPlugins');
return parse(source, config.plugins);
return this.callback(null, parse(source, config.plugins), map);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure this is the proper return value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant