javascript - How Can I Include a Typescript Generated js.map File as a WebResource in a Web Control? -


i have javascript source file, generated typescript, include in asp.net web control using webresource attribute. generated javascript file includes reference generated js.map file. if map file included webresource in web control, resource url going compiler generated url. while find out is, , attempt modify js file manually, overwritten on build.

is there better solution use case?

you can access resources via

var file = <appnamespace>.properties.resources.<jsfilename> 

or load stream

var stream = assembly.getexecutingassembly().getmanifestresourcestream("<fullname>"); 

in both cases should able modify (not sure). if not possible, have write small service returns script, read resource, modify , return back...


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -