emotion/scripts/test-utils/package.json
Mateusz Burzyński d8ff8a5990
Update Preconstruct and use import conditions (#3198)
* Update Preconstruct and use import conditions

* remove is-development redundant conditions

* is-browser condition

* default is-browser to a runtime check

* remove top-level browser fields

* remove top-level browser entries from extra entrypoints

* remove yet another top-level browser field from an entrypoint

* remove yet another top-level browser field from an entrypoint

* use modern moduleResolution

* fixes site config

* add paths to handle older ts versions in type tests

* fix dtslint, hopefully

* use development condiiton by default in tests

* try to run without the browser condition

* add prod tests

* fix gate types

* hijack insertedRules

* changesets
2024-07-19 14:50:01 +02:00

13 lines
246 B
JSON

{
"name": "test-utils",
"main": "src/index",
"version": "0.3.2",
"private": true,
"imports": {
"#is-development": {
"development": "./resolved-conditions/true.js",
"default": "./resolved-conditions/false.js"
}
}
}