babel-plugin-jspm-strip-server-codedeprecated

replaces a server and client keyword with true/false depending on whether the code is browser/node

Usage no npm install needed!

<script type="module">
  import babelPluginJspmStripServerCode from 'https://cdn.skypack.dev/babel-plugin-jspm-strip-server-code';
</script>

README

replaces __SERVER__ and __CLIENT__ with true/false depending on whether the code is browser/node