Skip to content

Use preconstruct#3528

Merged
gwyneplaine merged 2 commits intoJedWatson:v3.0.0from
emmatown:preconstruct
May 3, 2019
Merged

Use preconstruct#3528
gwyneplaine merged 2 commits intoJedWatson:v3.0.0from
emmatown:preconstruct

Conversation

@emmatown
Copy link
Collaborator

Things here other than adding preconstruct:

  • Remove nps because after adding preconstruct it was only being used to specify the build command for the site
  • Add a netlify.toml which tells Netlify how to build the site, right now it's specified in the Netlify UI but that means that changes to the site's build command or dist folder have to be changed in the UI and therefore all branches have to have the same build config, with this though, different branches can have different build configs since it lives in git.

],
"bundlesize": [
{
"path": "./dist/react-select.js"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't really make sense now since we don't have a UMD build, there's probably a tool to do a bundle size check that bundles dependencies and minifies but I wasn't sure if having a bundle size check is a thing we care about having exactly right now so I just removed it.

@gwyneplaine gwyneplaine mentioned this pull request Apr 29, 2019
10 tasks
@emmatown emmatown mentioned this pull request Apr 29, 2019
5 tasks
@emmatown emmatown requested review from JedWatson and gwyneplaine May 1, 2019 02:26
Copy link
Collaborator

@gwyneplaine gwyneplaine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds lgtm

@gwyneplaine gwyneplaine merged commit d03d2d1 into JedWatson:v3.0.0 May 3, 2019
@gwyneplaine gwyneplaine mentioned this pull request May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants