dbtedman / postcss-prefixwrap

A PostCSS plugin that is used to wrap css styles with a css selector to constrain their affect on parent elements in a page.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: `dist/main.js` missing in published package since 1.8.0

sbusch opened this issue · comments

With 1.8.0 I get this error:

Error: Cannot find module
'/Users/developer/Devel/qbus-js/node_modules/postcss-prefixwrap/dist/main.js'.
Please verify that the package.json has a valid "main" entry

Hi @sbusch thanks for reporting this bug. Looks like I did not correctly test the published output after switching to a TypeScript build. I have fixed the issue, added additional integration tests as well as manually testing the package. All should be resolved in the 1.9.0 release.