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
At the moment this line https://github.com/ariporad/pirates/blob/master/src/index.js#L76 allows you to change code but it does not let you return both newCode and a newFilename. Pirates should allow authors to return either an object that has newCode and/or newFilename properties. If a newFilename is returned then the hook would use that when calling compile.
At the moment this line https://github.com/ariporad/pirates/blob/master/src/index.js#L76 allows you to change code but it does not let you return both newCode and a newFilename. Pirates should allow authors to return either an object that has newCode and/or newFilename properties. If a newFilename is returned then the hook would use that when calling compile.
Would you accept a PR for this @danez @ariporad? Thanks!
The text was updated successfully, but these errors were encountered: