babel-plugin-wrap-modules-amd
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -53,3 +53,3 @@ 'use strict'; | ||
var buildDeps = (0, _babelTemplate2.default)('[\n \'module\', \'exports\', \'require\' \n ' + (dependencies.length > 0 ? ',' : '') + ' \n ' + dependencies.join() + '\n ]'); | ||
var buildDeps = (0, _babelTemplate2.default)('[\n \'module\', \'exports\', \'require\' \n ' + (dependencies.length > 0 ? ',' : '') + ' \n ' + dependencies.join() + '\n ]'); | ||
@@ -72,3 +72,7 @@ node.body = [buildDefine({ | ||
var buildDefine = (0, _babelTemplate2.default)('\n define(DEPS, function(module, exports, require) {\n\t SOURCE\n })\n'); | ||
var buildDefine = (0, _babelTemplate2.default)('\n define(DEPS, function(module, exports, require) {\n \t SOURCE\n })\n '); | ||
/** | ||
* @return {object} a babel visitor | ||
*/ | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "babel-plugin-wrap-modules-amd", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "A Babel plugin to wrap package modules inside AMD define() calls.", | ||
@@ -8,3 +8,3 @@ "main": "lib/index.js", | ||
"build": "babel --source-maps -D -d lib src", | ||
"prepublish": "babel --source-maps -D -d lib src" | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -11,0 +11,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
72124
12
2288
0
44
1