Faire / mjml-react

React component library to generate the HTML emails on the fly
https://www.npmjs.com/package/@faire/mjml-react
MIT License
375 stars 16 forks source link

publish package from the `dist` folder #71

Closed IanEdington closed 1 year ago

IanEdington commented 1 year ago

currently the package is published from the source root directory (/). This results in import statements like the following:

import { render } from "@faire/mjml-react/dist/src/utils/render";

At build time if we moved everything into /dist that's required to publish the package we could publish from within the dist folder resulting in import statements like this:

import { render } from "@faire/mjml-react/src/utils/render";

split out from #64

emmclaughlin commented 1 year ago

Fixed in #77