summaryrefslogtreecommitdiff
path: root/tests/specs/run/import_common_js/exports_error.out
blob: baa44682be52f627de8055bc05599d41511eb089 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: Uncaught (in promise) ReferenceError: exports is not defined
Object.defineProperty(exports, "__esModule", { value: true });
                      ^
    at [WILDCARD]exports_error.js:1:23

    info: Deno supports CommonJS modules in .cjs files, or when the closest
          package.json has a "type": "commonjs" option.
    hint: Rewrite this module to ESM,
          or change the file extension to .cjs,
          or add package.json next to the file with "type": "commonjs" option.
    docs: https://docs.deno.com/go/commonjs