I'm in Typescript. I'm using webpack. I have an ordinary .json file in my projec...

@mcc@mastodon.social

I'm in Typescript. I'm using webpack. I have an ordinary .json file in my project directory. I want to just. Inline the json file in my source. Like I just want it to be splatted in there.

I type

import * as packages from "../tools/packages.json";

I haven't run this yet. I'm about to run this. What do you expect this will do?