babel-plugin-wrap-modules-amd
Advanced tools
Comparing version 1.7.0-alpha.e4d06b30 to 2.0.0-rc.1
@@ -94,3 +94,3 @@ 'use strict'; | ||
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 // Make module believe it is running under Node.js\n var define = undefined;\n \t SOURCE\n })\n '); | ||
@@ -97,0 +97,0 @@ /** |
{ | ||
"name": "babel-plugin-wrap-modules-amd", | ||
"version": "1.7.0-alpha.e4d06b30", | ||
"version": "2.0.0-rc.1", | ||
"description": "A Babel plugin to wrap package modules inside AMD define() calls.", | ||
@@ -16,5 +16,5 @@ "main": "lib/index.js", | ||
"babel-template": "^6.25.0", | ||
"liferay-npm-build-tools-common": "1.7.0-alpha.e4d06b30", | ||
"liferay-npm-build-tools-common": "2.0.0-rc.1", | ||
"read-json-sync": "^1.1.1" | ||
} | ||
} |
@@ -7,2 +7,4 @@ import template from 'babel-template'; | ||
define(DEPS, function(module, exports, require) { | ||
// Make module believe it is running under Node.js | ||
var define = undefined; | ||
SOURCE | ||
@@ -9,0 +11,0 @@ }) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
16213
213
+ Addedliferay-npm-build-tools-common@2.0.0-rc.1(transitive)
- Removedliferay-npm-build-tools-common@1.7.0-alpha.e4d06b30(transitive)