Skip to content

Conversation

NiGhTTraX
Copy link
Collaborator

Need

As a user
I want a transpiled version of this package
So that I can enable sourcemaps in my build flow.

Developers

  • ES5 module published on npm.

Solution

Add a prepublish script that transpiles the src folder to dist and publish that.

"scripts": {
  "prepublish": "babel src/ -d dist/"
}

Prerequisites

TODO

Notes

Should the webpack config be removed?

/cc @skidding

@ovidiuch
Copy link
Owner

Sounds about right. What would the prepublish script look like? The link is empty.

@andrei-picus-hs
Copy link
Author

@skidding updated.

@ovidiu-chereches-hs
Copy link

LGTM

@NiGhTTraX NiGhTTraX self-assigned this Sep 1, 2015
@NiGhTTraX
Copy link
Collaborator

@skidding please review.

@ovidiuch
Copy link
Owner

ovidiuch commented Sep 1, 2015

LGTM. Feel free to bump the package version on this branch.

NiGhTTraX added a commit that referenced this pull request Sep 2, 2015
@NiGhTTraX NiGhTTraX merged commit f65b599 into master Sep 2, 2015
@NiGhTTraX NiGhTTraX deleted the 13-unbundled-publish branch September 2, 2015 06:45
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.

4 participants