@@ -13,7 +13,7 @@ Pre-evaluate code at build-time
1313[ ![ downloads] [ downloads-badge ]] [ npm-stat ]
1414[ ![ MIT License] [ license-badge ]] [ license ]
1515
16- [ ![ All Contributors] ( https://img.shields.io/badge/all_contributors-11 -orange.svg?style=flat-square )] ( #contributors )
16+ [ ![ All Contributors] ( https://img.shields.io/badge/all_contributors-12 -orange.svg?style=flat-square )] ( #contributors )
1717[ ![ PRs Welcome] [ prs-badge ]] [ prs ]
1818[ ![ Donate] [ donate-badge ]] [ donate ]
1919[ ![ Code of Conduct] [ coc-badge ]] [ coc ]
@@ -116,13 +116,13 @@ npm install --save-dev babel-plugin-preval
116116
117117Important notes:
118118
119- 1 . All code run by ` preval ` is _ not_ run in a sandboxed environment
120- 2 . All code _ must_ run synchronously.
121- 3 . All code will be transpiled via ` babel-core ` directly or ` babel-register `
122- and should follow all of the normal rules for ` .babelrc ` resolution (the
123- closest ` .babelrc ` to the file being run is the one that's used). This means
124- you can rely on any babel plugins/transforms that you're used to using
125- elsewhere in your codebase.
119+ 1 . All code run by ` preval ` is _ not_ run in a sandboxed environment
120+ 2 . All code _ must_ run synchronously.
121+ 3 . All code will be transpiled via ` babel-core ` directly or ` babel-register `
122+ and should follow all of the normal rules for ` .babelrc ` resolution (the
123+ closest ` .babelrc ` to the file being run is the one that's used). This means
124+ you can rely on any babel plugins/transforms that you're used to using
125+ elsewhere in your codebase.
126126
127127### Template Tag
128128
@@ -369,9 +369,9 @@ Thanks goes to these people ([emoji key][emojis]):
369369<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
370370
371371<!-- prettier-ignore -->
372- | [<img src="https://avatars.githubusercontent.com/u/1500684?v=3" width="100px;"/><br /><sub><b>Kent C. Dodds</b></sub>](https://kentcdodds.com)<br />[π»](https://github.com/kentcdodds/babel-plugin-preval/commits?author=kentcdodds "Code") [π](https://github.com/kentcdodds/babel-plugin-preval/commits?author=kentcdodds "Documentation") [π](#infra-kentcdodds "Infrastructure (Hosting, Build-Tools, etc)") [β οΈ](https://github.com/kentcdodds/babel-plugin-preval/commits?author=kentcdodds "Tests") | [<img src="https://avatars3.githubusercontent.com/u/5610087?v=3" width="100px;"/><br /><sub><b>Matt Phillips</b></sub>](http://mattphillips.io)<br />[π»](https://github.com/kentcdodds/babel-plugin-preval/commits?author=mattphillips "Code") [π](https://github.com/kentcdodds/babel-plugin-preval/commits?author=mattphillips "Documentation") [β οΈ](https://github.com/kentcdodds/babel-plugin-preval/commits?author=mattphillips "Tests") | [<img src="https://avatars1.githubusercontent.com/u/28024000?v=3" width="100px;"/><br /><sub><b>Philip Oliver</b></sub>](https://twitter.com/philipodev)<br />[π](https://github.com/kentcdodds/babel-plugin-preval/issues?q=author%3Aphilipodev "Bug reports") | [<img src="https://avatars2.githubusercontent.com/u/2109702?v=3" width="100px;"/><br /><sub><b>Sorin Davidoi</b></sub>](https://toot.cafe/@sorin)<br />[π](https://github.com/kentcdodds/babel-plugin-preval/issues?q=author%3Asorin-davidoi "Bug reports") [π»](https://github.com/kentcdodds/babel-plugin-preval/commits?author=sorin-davidoi "Code") [β οΈ](https://github.com/kentcdodds/babel-plugin-preval/commits?author=sorin-davidoi "Tests") | [<img src="https://avatars4.githubusercontent.com/u/1127238?v=4" width="100px;"/><br /><sub><b>Luke Herrington</b></sub>](https://github.com/infiniteluke)<br />[π‘](#example-infiniteluke "Examples") | [<img src="https://avatars4.githubusercontent.com/u/22868432?v=4" width="100px;"/><br /><sub><b>Lufty Wiranda</b></sub>](http://instagram.com/luftywiranda13)<br />[π»](https://github.com/kentcdodds/babel-plugin-preval/commits?author=luftywiranda13 "Code") | [<img src="https://avatars0.githubusercontent.com/u/3877773?v=4" width="100px;"/><br /><sub><b>Oscar</b></sub>](http://obartra.github.io)<br />[π»](https://github.com/kentcdodds/babel-plugin-preval/commits?author=obartra "Code") [β οΈ](https://github.com/kentcdodds/babel-plugin-preval/commits?author=obartra "Tests") |
372+ | [<img src="https://avatars.githubusercontent.com/u/1500684?v=3" width="100px;"/><br /><sub><b>Kent C. Dodds</b></sub>](https://kentcdodds.com)<br />[π»](/kentcdodds/babel-plugin-preval/commits?author=kentcdodds "Code") [π](/kentcdodds/babel-plugin-preval/commits?author=kentcdodds "Documentation") [π](#infra-kentcdodds "Infrastructure (Hosting, Build-Tools, etc)") [β οΈ](/kentcdodds/babel-plugin-preval/commits?author=kentcdodds "Tests") | [<img src="https://avatars3.githubusercontent.com/u/5610087?v=3" width="100px;"/><br /><sub><b>Matt Phillips</b></sub>](http://mattphillips.io)<br />[π»](/kentcdodds/babel-plugin-preval/commits?author=mattphillips "Code") [π](/kentcdodds/babel-plugin-preval/commits?author=mattphillips "Documentation") [β οΈ](/kentcdodds/babel-plugin-preval/commits?author=mattphillips "Tests") | [<img src="https://avatars1.githubusercontent.com/u/28024000?v=3" width="100px;"/><br /><sub><b>Philip Oliver</b></sub>](https://twitter.com/philipodev)<br />[π](/kentcdodds/babel-plugin-preval/issues?q=author%3Aphilipodev "Bug reports") | [<img src="https://avatars2.githubusercontent.com/u/2109702?v=3" width="100px;"/><br /><sub><b>Sorin Davidoi</b></sub>](https://toot.cafe/@sorin)<br />[π](/kentcdodds/babel-plugin-preval/issues?q=author%3Asorin-davidoi "Bug reports") [π»](/kentcdodds/babel-plugin-preval/commits?author=sorin-davidoi "Code") [β οΈ](/kentcdodds/babel-plugin-preval/commits?author=sorin-davidoi "Tests") | [<img src="https://avatars4.githubusercontent.com/u/1127238?v=4" width="100px;"/><br /><sub><b>Luke Herrington</b></sub>](https://github.com/infiniteluke)<br />[π‘](#example-infiniteluke "Examples") | [<img src="https://avatars4.githubusercontent.com/u/22868432?v=4" width="100px;"/><br /><sub><b>Lufty Wiranda</b></sub>](http://instagram.com/luftywiranda13)<br />[π»](/kentcdodds/babel-plugin-preval/commits?author=luftywiranda13 "Code") | [<img src="https://avatars0.githubusercontent.com/u/3877773?v=4" width="100px;"/><br /><sub><b>Oscar</b></sub>](http://obartra.github.io)<br />[π»](/kentcdodds/babel-plugin-preval/commits?author=obartra "Code") [β οΈ](/kentcdodds/babel-plugin-preval/commits?author=obartra "Tests") |
373373| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
374- | [ <img src =" https://avatars1.githubusercontent.com/u/14310216?v=4 " width =" 100px; " /><br /><sub ><b >pro-nasa</b ></sub >] ( https://github.com/pro-nasa ) <br />[ π] ( https://github.com/kentcdodds/babel-plugin-preval/commits?author=pro-nasa " Documentation ") | [ <img src =" https://avatars0.githubusercontent.com/u/9248479?v=4 " width =" 100px; " /><br /><sub ><b >Sergey Bekrin</b ></sub >] ( http://bekrin.me ) <br /> | [ <img src =" https://avatars0.githubusercontent.com/u/18613301?v=4 " width =" 100px; " /><br /><sub ><b >Mauro Bringolf</b ></sub >] ( https://maurobringolf.ch ) <br />[ π»] ( https://github.com/kentcdodds/babel-plugin-preval/commits?author=maurobringolf " Code ") [ β οΈ] ( https://github.com/kentcdodds/babel-plugin-preval/commits?author=maurobringolf " Tests ") | [ <img src =" https://avatars1.githubusercontent.com/u/10875678?v=4 " width =" 100px; " /><br /><sub ><b >Joe Lim</b ></sub >] ( https://joelim.me ) <br />[ π»] ( https://github.com/kentcdodds/babel-plugin-preval/commits?author=xjlim " Code ") |
374+ | [<img src="https://avatars1.githubusercontent.com/u/14310216?v=4" width="100px;"/><br /><sub><b>pro-nasa</b></sub>](https://github.com/pro-nasa)<br />[π](/kentcdodds/babel-plugin-preval/commits?author=pro-nasa "Documentation") | [<img src="https://avatars0.githubusercontent.com/u/9248479?v=4" width="100px;"/><br /><sub><b>Sergey Bekrin</b></sub>](http://bekrin.me)<br /> | [<img src="https://avatars0.githubusercontent.com/u/18613301?v=4" width="100px;"/><br /><sub><b>Mauro Bringolf</b></sub>](https://maurobringolf.ch)<br />[π»](/kentcdodds/babel-plugin-preval/commits?author=maurobringolf "Code") [β οΈ](/kentcdodds/babel-plugin-preval/commits?author=maurobringolf "Tests") | [<img src="https://avatars1.githubusercontent.com/u/10875678?v=4" width="100px;"/><br /><sub><b>Joe Lim</b></sub>](https://joelim.me)<br />[π»](/kentcdodds/babel-plugin-preval/commits?author=xjlim "Code") | [<img src="https://avatars3.githubusercontent.com/u/13483453?v=4" width="100px;"/><br /><sub><b>Marcin Zielinski</b></sub>](https://github.com/marzelin)<br />[π»](/kentcdodds/babel-plugin-preval/commits?author=marzelin "Code") |
375375
376376<!-- ALL-CONTRIBUTORS-LIST:END -->
377377
0 commit comments