You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ deno bundle index.js
⚠️ deno bundle is experimental and subject to changes
// data.json
var data_default = {};
// index.js
console.log(data_default);
But plain deno fails:
$ deno index.js
error: Expected a JavaScript or TypeScript module, but identified a Json module. Consider importing Json modules with an import attribute with the type of "json".
Specifier: file:///.../deno-issues/json-import/data.json
at file:///.../deno-issues/json-import/index.js:1:18