proscenium 0.4.1-x86_64-darwin → 0.4.2-x86_64-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: 149e0f0a32453f37ad9e9c3df0987247b10b5e434b6959c3afc037c74aa636b4
4
- data.tar.gz: 5f5332afbf86dea9484abde571eeaaa41940694d4353f191451e2c6894a9fb1d
3
+ metadata.gz: 66baa8293b370fb8909751539c7e79327d7c63f9f254fbad2a38bcecf80afe75
4
+ data.tar.gz: d0666219ca0b7a9b4a12627a160df177764e3b097eb3a3e6d063da585c413b05
5
5
  SHA512:
6
- metadata.gz: f5bafa1d0544bb792336dac9d2fd66e0066d8839c286509bde1bb954861e0be2c985f95c2f3d1d80653b059512c4fb84a9754657d2562414e4d8f1ae88521022
7
- data.tar.gz: efad9eba8fee06bf1896a2539175de5ddb21a796db4ef6488d7c25f8c4ba03a05bf064b57f9015332fca1d76de0a25cda9b75942300a14655982ff153a2d4b27
6
+ metadata.gz: 0cefd18721b3f644ba32274bd8a7d3eac6d38a78a203971715ae98fbef4ff2bc70fd4c3258fa049d6b75c8120c3225ebd78d5f73f0701f0dc52e7d76c3f423f5
7
+ data.tar.gz: 0ffad05d6db91c8aaec6949452039d92d34c78f19110e62abd1fa4e9e303072fde623ac885418fcd3c31c228652b3d8e9800462539c08659acfcfbe58108193a
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-darwin
6
6
  authors:
7
7
  - Joel Moss