after preprocessor does, FILE could looks like /Users/xxxx/workspace/foo/src/somefilename, but it was too long though, src/somefilename or even somefilename would be enough.
so i think is that possable to write pprocessor-loader.json file like this
"macros": [
{
"declaration" : "LOG_INFO(message)",
"definition" : "console.log(message + ' (__FILE__:__LINE__)');",
"REG": "/(src:?)(.*)/"
},
]
thanks
after preprocessor does, FILE could looks like
/Users/xxxx/workspace/foo/src/somefilename, but it was too long though,src/somefilenameor evensomefilenamewould be enough.so i think is that possable to write pprocessor-loader.json file like this
thanks