Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Add transpile task and switch entry points to ES5 output #40

Merged
merged 4 commits into from
Oct 10, 2016

Conversation

i-like-robots
Copy link
Contributor

  • Moves all modules into src folder
  • Added task to transpile contents of the src folder to a dist folder
  • Adjusted Bower and NPM entry points to transpiled modules
  • Added prepublish hook to package manifest

@ironsidevsquincy
Copy link
Contributor

Anything we can do with bower to mean we don't check in dist? Some sort of pre-tag git hook?

@i-like-robots
Copy link
Contributor Author

Looking into that ATM - there's always the option to upload a zip with a release which I assume Bower will pick up =/

@i-like-robots
Copy link
Contributor Author

i-like-robots commented Oct 6, 2016

Or we simply no longer publish on Bower... the lazy loading code could be moved into n-ui? But I suppose we wouldn't be able to apply the same rule to each component.

@i-like-robots
Copy link
Contributor Author

Tested on front page and looking 👌

@i-like-robots
Copy link
Contributor Author

Beta released https://github.com/Financial-Times/n-image/tree/v4.3.0-beta.2

Seems to work just fine for front page

@i-like-robots i-like-robots merged commit 4a66f32 into master Oct 10, 2016
@i-like-robots i-like-robots deleted the matth/transpile-on-release branch October 10, 2016 09:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants