Deryl Rodrigues
Deryl Rodrigues
Even I am facing this issue
@jbrantly Thanks It works
@jbrantly I was wondering like I have a .json file which I need to import in main.ts. I tried using json-loader but it didnt work for me. I used a...
@jbrantly As you have suggested above var details = require('json!./name.json'); details will not have the raw json. It will be imported as module.exports = { "firstname": "abc", "lastname": "def" }
@jbrantly the Example is using the "require" I was wondering if it is possible to import a module inside the 'if condition'
@jbrantly I try this out OOPS yep just an example it should be DEVMODE