We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overview: gulp-umd templates is out of sync with umdjs templates.
The Problem: As the 'global' check algorithm gulp-umd currently using in templates is deprecated, files generated gulp-umd have two serious problems:
import '/node_modules/js-untar/build/dist/untar.js';
The error looks like:
Cannot set property 'xxx' of undefined
because the outer this, or argument root in IIF, is undefined
this
root
undefined
see InvokIT/js-untar#30 and markedjs/marked#1292
Possible Solution: Update the global check algorithm to umdjs's latest recommended way.
say, replace this with typeof self !== 'undefined' ? self : this, see returnExportsGlobal.js for example.
typeof self !== 'undefined' ? self : this
This is a serious problem, plz patch latest 3 versions (2.x, 1.x anf 0.2.x), also set deprecated tag on old versions at npm central registry.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Overview:
gulp-umd templates is out of sync with umdjs templates.
The Problem:
As the 'global' check algorithm gulp-umd currently using in templates is deprecated, files generated gulp-umd have two serious problems:
import '/node_modules/js-untar/build/dist/untar.js';
The error looks like:
because the outer
this
, or argumentroot
in IIF, isundefined
see InvokIT/js-untar#30 and markedjs/marked#1292
Possible Solution:
Update the global check algorithm to umdjs's latest recommended way.
say, replace
this
withtypeof self !== 'undefined' ? self : this
, see returnExportsGlobal.js for example.This is a serious problem, plz patch latest 3 versions (2.x, 1.x anf 0.2.x), also set deprecated tag on old versions at npm central registry.
The text was updated successfully, but these errors were encountered: