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
You are right, I should consider support for this. I didn't yet because I am trying to encourage the use of custom replaces that are more versatile and powerful but they are, I agree, much harder to get working as well.
However as a quick fix here is the custom replacer for sanswich-stream:
Create a file named denoify-replacer.js for example and place it in a scripts/ directory:
const{
makeThisModuleAnExecutableReplacer,
ParsedImportExportStatement,}=require("denoify");makeThisModuleAnExecutableReplacer(async({ parsedImportExportStatement, version })=>{if(parsedImportExportStatement.parsedArgument.nodeModuleName==="sandwich-stream"){returnParsedImportExportStatement.stringify({
...parsedImportExportStatement,"parsedArgument": {"type": "URL","url": `https://jspm.dev/npm:sandwich-stream@${version}`},});}returnundefined;});
Custom replacers look complex, I'd love to be able to just
The text was updated successfully, but these errors were encountered: