Skip to content

Commit

Permalink
precompile es syntax before publishing to npm (winstonjs#1418)
Browse files Browse the repository at this point in the history
* precompile es syntax before publishing to npm

* reference requires through exports instead of by path

* rename build directory to dist. use prepublishOnly instead of prepublish (deprecated)

* remove lib from npmignore

* add browser opt-in. revert unneeded changes to require.

* alphabetize
  • Loading branch information
mfrisbey authored and DABH committed Sep 18, 2018
1 parent 8b9829d commit bbdb47b
Show file tree
Hide file tree
Showing 4 changed files with 3,766 additions and 699 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["env"]
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ coverage/*
*.log
.idea
*.sw*
yarn.lock
yarn.lock
*.tgz
dist/
Loading

0 comments on commit bbdb47b

Please sign in to comment.