proscenium 0.4.1-arm64-darwin → 0.4.2-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c49794ef4fa916c792416807d446491208f616aec182e09e85a894c4e42e9895
4
- data.tar.gz: 717c3a149ff1aef9d0c7460caf7c0dc749d0809cbe1b5098ed6998ed92277429
3
+ metadata.gz: ee3d3c38f64d0c843b2ab9ced68a3c0282e9756bc35eb59d5b65a60b1ebbc37e
4
+ data.tar.gz: c42033319ea96a8a4d6bd5f26b3434a3019a98f45b0501bb0196fdf959cc924f
5
5
  SHA512:
6
- metadata.gz: 281bc9f08e4c454a7bcef642f77dadf309a600685e014b0162b2d69710a78a4fdec6c4b9bbbaeea5d2af83f7a9a5f60670d57ade312733fe1e5dbfd5781a966e
7
- data.tar.gz: 576ed3414955a3d7a9036197e7a1bb3491aad35bfbdd1d4e4614216cf24022215a9a6da57e39d919159a18a7d1858a1ed0cdcee3b24491968b36290cb0b3954f
6
+ metadata.gz: 568f0f28f1d964bbf4aa4f0b92aac32de9336a37e72482af80522af06607422635c86cd96e1b7041654a2c455712569732b2bbc9ff48ce6caf8ec16e5e3432f3
7
+ data.tar.gz: 1464778e26fa7c7b92d0b631e88b3983bab4dc83656985e7566a9e2843d98cac95f8a846ba820e1fca11af40ef85da6b476ebbe7f51eac3425e14cf9f1b2b14b
data/bin/esbuild CHANGED
Binary file
@@ -19,9 +19,11 @@ export default setup('env', () => {
19
19
  namespace: 'env',
20
20
  callback({ path }) {
21
21
  if (path.includes(':')) {
22
+ const name = Deno.env.get(path.split(':')[1])
23
+
22
24
  return {
23
25
  loader: 'js',
24
- contents: `export default '${Deno.env.get(path.split(':')[1])}'`
26
+ contents: name ? `export default '${name}'` : `export default ${name}`
25
27
  }
26
28
  }
27
29
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Proscenium
4
- VERSION = '0.4.1'
4
+ VERSION = '0.4.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proscenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Joel Moss