Skip to content

Instantly share code, notes, and snippets.

@shubik
Created April 17, 2014 05:28
Show Gist options
  • Save shubik/10955038 to your computer and use it in GitHub Desktop.
Save shubik/10955038 to your computer and use it in GitHub Desktop.
requirejs onBuildWrite to remove jsx!
onBuildWrite: function (moduleName, path, contents) {
return contents.replace(/jsx!/g, '');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment