GoogleChromeLabs / critters

🦔 A Webpack plugin to inline your critical CSS and lazy-load the rest.
https://npm.im/critters-webpack-plugin
Apache License 2.0
3.44k stars 107 forks source link

fix: export the ts types when using moduleResolution "bundler"/"node16" #151

Closed RebeccaStevens closed 4 days ago

RebeccaStevens commented 9 months ago

Would be great if this could be merged along with #101

Jordan-Hall commented 8 months ago

You can also fix it by repairing "typings": "src/index.d.ts", to "typings": "./src/index.d.ts". This seems to fix the issue locally as well

danielroe commented 6 months ago

Came here to open the same PR.

kara commented 4 days ago

Closing this PR because ownership of Critters has moved to the Nuxt team, who will be maintaining the project going forward. This repo is archived and won't receive any future updates.

If the PR is still relevant, please re-post it to the actively-maintained fork at https://github.com/danielroe/beasties.