Created
September 17, 2017 06:48
-
-
Save ali-master/78a1e6dda35431a620e3f3d0dce33933 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var utils = require('loader-utils'); | |
module.exports = function (content) { | |
var opt = utils.parseQuery(this.query); | |
return opt.data ? opt.data + content : content; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment