Got here from a post on StackOverflow which states
// It does not actually need to be a .json extension, this will work to:
require(['json!someFile'], function(data){
But as near as I can tell this doesn't work, it's always trying to load "someFile" rather than "someFile.json"
How do I get this to work without adding the extension?
Got here from a post on StackOverflow which states
But as near as I can tell this doesn't work, it's always trying to load "someFile" rather than "someFile.json"
How do I get this to work without adding the extension?