proscenium 0.4.1-x86_64-linux → 0.4.2-x86_64-linux

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: 157126f9c1cca9d367a65d0a81bc3c75d0731fe69accc3f617039892a25e7673
4
- data.tar.gz: 37a2b9d9d8175e7e6d0cd685098645d1a0a478f4d1b23d32eee03ce83e6bc0e5
3
+ metadata.gz: df96b81d14d24763b758126bc2436b8eae8422794f76768d1ff93782acdf3345
4
+ data.tar.gz: efa9d7cb284071acdef13a7d7c04db1fa32cec8ba1f11b80e6bf50bda037c71a
5
5
  SHA512:
6
- metadata.gz: 9f92e30f9d35d57b698994119b4251e11f0443d94b76d45bda759c84ffbd5a4d79d837853542b22968c3c1f1af899018b5bc9c0f2a0f03a4d5858f048103b402
7
- data.tar.gz: 8d7b6e3fbfaf405c2ca8984cc5981d7f0b01f48d082a6e214df35347a894da105db6f87fda277e25f107dd44214f0ca6d9b400b0b8d636d528119f9e68a158e0
6
+ metadata.gz: a45c0bba0abced25aa9f1b10b1ba596b685247ba59609b10477c8658b83402b5dbfc42d0c12a638dd40b6c71a801140d0c33624b2ca671cd00570dbe0d40fcf4
7
+ data.tar.gz: 027dff0abab6435536f3b6982e78497e0db1028956e96b549ff7bcffb84e20dbe5fbccb160e41a11c48a9af783187c2f105271b5ff5f4950f9addf26c4ba03d2
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: x86_64-linux
6
6
  authors:
7
7
  - Joel Moss