vscode-file-peek
vscode-file-peek copied to clipboard
support import with systemjs/plugin-text
Hi
tried to use your extension when importing as text with the text plugin from systemjs, didn't work
import templateText from './my-template.html!text';
@Component({
selector: 'my-component',
template: templateText
})
I solved it with a quick replace potential_fname.replace(/!\w*/,"")
it just removes that !text at the end of the name so it can find it in the files
thanks for the extension! really helpful
@vagyriag Could you submit a pull with the change. Sounds like a great improvement.
done
I didn't see a pull request for this one. Did you submit it?
@vagyriag Just checking again. Did you submit a pull for this?