@sidekick-coder/zenith-kit 0.1.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,10 @@ command
31
31
  const viteNodeConfig = createViteConfig({
32
32
  entry: path.resolve(cwd, 'src/client/index.ts'),
33
33
  outDir: path.resolve(cwd, 'dist/client-node'),
34
- ssr: true
34
+ ssr: true,
35
+ env: {
36
+ NODE_ENV: 'production'
37
+ }
35
38
  })
36
39
 
37
40
  await vite.build(viteNodeConfig)
@@ -39,7 +42,10 @@ command
39
42
  const viteBrowserConfig = createViteConfig({
40
43
  entry: path.resolve(cwd, 'src/client/index.ts'),
41
44
  outDir: path.resolve(cwd, 'dist/client-browser'),
42
- ssr: false
45
+ ssr: false,
46
+ env: {
47
+ NODE_ENV: 'production'
48
+ }
43
49
  })
44
50
 
45
51
  await vite.build(viteBrowserConfig)
@@ -61,7 +61,7 @@ command
61
61
  run('npm', ['version', bump])
62
62
 
63
63
  console.log('\nBuilding...')
64
- run('npm', ['run', 'build', '--', '--dts'])
64
+ run('npm', ['run', 'build'])
65
65
 
66
66
  console.log('\nPublishing to npm...')
67
67
  run('npm', ['publish'])
@@ -0,0 +1 @@
1
+ var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};export{t};