This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
Blue - v0.0.43
Better bundling for release
Below is a screenshot from node_modules
after npm install
ing Blue
This PR updates the build process of Blue from using Webpack to Babel. It also adjusts the npm publish
process to publish just the dist
directory, instead of the entire project.
These updates allow a consumer of Blue to do something like:
import Button from '@helpscout/blue/components/Button'
Potential Breaking Changes: Import paths (/dists
)
Moving forward, Blue will only be publishing built files from the dist/
directory. Please update any import paths (js/css) you may be using that point to the old @helpscout/blue/dist/
path.
So something like:
@helpscout/blue/dist/scss/
Becomes
@helpscout/blue/scss/
Resolves: #80