mirror of https://github.com/webpack/webpack.git
9 lines
233 B
JavaScript
9 lines
233 B
JavaScript
|
|
module.exports = function(source) {
|
||
|
|
var query = this.query;
|
||
|
|
if(typeof query === "object" && typeof query.get === "function") {
|
||
|
|
query = query.get();
|
||
|
|
}
|
||
|
|
return source + "\nmodule.exports.push(" + JSON.stringify(query) + ");";
|
||
|
|
};
|
||
|
|
|