🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

tmpl-loader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmpl-loader - npm Package Compare versions

Comparing version
0.0.2
to
0.0.3
+5
-1
index.js
module.exports = function(source, map){
this.cacheable && this.cacheable();
//对source进行解析
return 'rgy';
var compiled = "var tpl = require('baidutemplate').template;\n";
compiled += "module.exports = tpl(";
compiled += JSON.stringify(source.toString('utf-8'));
compiled += ");";
return compiled;
}
+1
-1
{
"name": "tmpl-loader",
"version": "0.0.2",
"version": "0.0.3",
"description": "Webpack loader for tmpl",

@@ -5,0 +5,0 @@ "main": "index.js",