@hubspot/ui-extensions-dev-server
Advanced tools
Comparing version 0.0.1-prealpha.5 to 0.0.1-prealpha.6
@@ -25,4 +25,11 @@ const { build } = require('vite'); | ||
minify = false, | ||
root = process.cwd(), // This is the vite default, so using that as our default | ||
}) { | ||
await build({ | ||
root, | ||
define: { | ||
'process.env.NODE_ENV': JSON.stringify( | ||
process.env.NODE_ENV || 'production' | ||
), | ||
}, | ||
build: { | ||
@@ -29,0 +36,0 @@ lib: { |
@@ -15,2 +15,7 @@ const express = require('express'); | ||
build({ | ||
define: { | ||
'process.env.NODE_ENV': JSON.stringify( | ||
process.env.NODE_ENV || 'development' | ||
), | ||
}, | ||
build: { | ||
@@ -17,0 +22,0 @@ watch: { |
{ | ||
"name": "@hubspot/ui-extensions-dev-server", | ||
"version": "0.0.1-prealpha.5", | ||
"version": "0.0.1-prealpha.6", | ||
"description": "", | ||
@@ -20,3 +20,2 @@ "main": "index.js", | ||
"logger.js", | ||
"remoteBuild.js", | ||
"run.js", | ||
@@ -27,3 +26,4 @@ "utils.js", | ||
"tests/testDevServer.js", | ||
"plugins/manifestPlugin.js" | ||
"plugins/manifestPlugin.js", | ||
"index.js" | ||
], | ||
@@ -43,4 +43,3 @@ "license": "MIT", | ||
"bin": { | ||
"hs-ui-extensions-dev-server": "run.js", | ||
"hs-ui-extensions-remote-build": "remoteBuild.js" | ||
"hs-ui-extensions-dev-server": "run.js" | ||
}, | ||
@@ -63,3 +62,3 @@ "eslintConfig": { | ||
}, | ||
"gitHead": "a4652eb58cbde813dbebc8b7127c36102b9b6ed6" | ||
"gitHead": "1dfa4048c08a39c6f50a5f87e92eddf1b19dde5c" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27184
779
9