deno
deno copied to clipboard
Feat: Add CLI flag to skip having to add import attributes
Trying out Deno in Node projects that import .json
files currently requires the developer to add import attributes.
// Node
import openings from "../resources/openings.json";
// Deno
import openings from "../resources/openings.json" with { type: "json" };
We should have a flag that allows you to import .json
files directly without import attributes. Or maybe only require import attributes for remote specifiers.