We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version
0.8.123
problem
require doesn't end up resolving correctly when using both $default and :refer
$default
:refer
without refer
$ npx squint --show -e '(ns foo (:require ["pg$default" :as pg])) (js/console.log pg.Pool)' import * as squint_core from 'squint-cljs/core.js'; import pg from 'pg'; console.log(pg.Pool); [class BoundPool extends Pool]
with refer
$ npx squint --show -e '(ns foo (:require ["pg$default" :as pg :refer [Pool]])) (js/console.log Pool)' import * as squint_core from 'squint-cljs/core.js'; import pg from 'pg'; import { Pool } from 'pg'; console.log(Pool); file:///private/tmp/dude/.tmp4ras1Q/squint.mjs:3 import { Pool } from 'pg';
The text was updated successfully, but these errors were encountered:
Fix #577: support default + refer
efaccd0
bb7596f
No branches or pull requests
version
0.8.123
problem
require doesn't end up resolving correctly when using both
$default
and:refer
without refer
with refer
The text was updated successfully, but these errors were encountered: