Skip to content
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

Add .js to cjs module id if needed for cram #205

Closed
wants to merge 5 commits into from
Closed

Add .js to cjs module id if needed for cram #205

wants to merge 5 commits into from

Conversation

gehan
Copy link
Contributor

@gehan gehan commented Aug 11, 2013

No description provided.

@unscriptable
Copy link
Member

This looks great, @gehan. Let's rebase this on the dev branch and prepare for a 0.7.6 release. Thanks!

@gehan
Copy link
Contributor Author

gehan commented Aug 12, 2013

I did this off master. I did a rebase but said everything is up-to-date.

I didn't update any tests by the way! In case this hits any


return {
compile: function (pluginId, resId, req, io, config) {
var moduleId = resId;
if (resId.substr(resId.length - 3) !== ".js") {
Copy link
Member

Choose a reason for hiding this comment

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

This is actually a symptom of a bigger problem with file extensions iiuc, but let's go with this for now.

@unscriptable
Copy link
Member

Cool. There's a way to switch the PR to dev instead of master. If you do that, I'll merge this in to dev asap.

@gehan
Copy link
Contributor Author

gehan commented Aug 12, 2013

Can't seem to change the target - made a new pull req! #206

@gehan gehan closed this Aug 12, 2013
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.

None yet

2 participants