You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
The Module header needs to account for context being undefined. By default Babel 6 replaces this with undefined.
Problem is that the header in the Grunt file does not account for this and therefore when this file gets bundled with others and passed through Babel 6, it doesn't work.
The line in the link below needs to change to accomodate something like the following:
' else if (typeof context[\'define\'] == \'function\' && context[\'define\'][\'amd\']) define(definition);',
The text was updated successfully, but these errors were encountered:
mig8447
changed the title
context is undefined when this module gets packaged using Babel 6
context is undefined when this module gets packaged using Babel 6
Aug 8, 2020
mig8447
changed the title
context is undefined when this module gets packaged using Babel 6
context is undefined when this module gets bundled using Babel 6
Aug 8, 2020
@mig8447 thanks for reporting this! I don't know nearly enough about Babel 6 / Grunt to know what the fix should look like here. Do you want to submit a Pull Request with a fix? If so please include some instructions for me to reproduce the issue.
The Module header needs to account for context being undefined. By default Babel 6 replaces
this
withundefined
.Problem is that the header in the Grunt file does not account for this and therefore when this file gets bundled with others and passed through Babel 6, it doesn't work.
The line in the link below needs to change to accomodate something like the following:
firepad/Gruntfile.js
Line 54 in e374771
The text was updated successfully, but these errors were encountered: