@common-stack/rollup-vite-utils 7.0.3-alpha.0 → 7.0.3-alpha.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.
@@ -155,7 +155,7 @@ const DefaultFeature = new Feature({
155
155
  export const ExternalModules = new Feature(${exModules ? exModules.trim().slice(0, -1) : '{}'});
156
156
 
157
157
  `;
158
- if (process.env.NODE_ENV !== 'development' && devPackages.length > 0) {
158
+ if (process.env.NODE_ENV === 'development' && devPackages.length > 0) {
159
159
  devPackages.forEach((pkg, index) => {
160
160
  const moduleName = `DevModule${index + 1}`;
161
161
  featureSetup += `const ${moduleName} = require('${pkg}');\n`;
@@ -155,7 +155,7 @@ const DefaultFeature = new Feature({
155
155
  export const ExternalModules = new Feature(${exModules ? exModules.trim().slice(0, -1) : '{}'});
156
156
 
157
157
  `;
158
- if (process.env.NODE_ENV !== 'development' && devPackages.length > 0) {
158
+ if (process.env.NODE_ENV === 'development' && devPackages.length > 0) {
159
159
  devPackages.forEach((pkg, index) => {
160
160
  const moduleName = `DevModule${index + 1}`;
161
161
  featureSetup += `const ${moduleName} = require('${pkg}');\n`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/rollup-vite-utils",
3
- "version": "7.0.3-alpha.0",
3
+ "version": "7.0.3-alpha.1",
4
4
  "description": "Client Module for react app",
5
5
  "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
6
  "bugs": {
@@ -58,7 +58,7 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "62167af0ddddc69fda5016ec2e2d5bb1dced5b43",
61
+ "gitHead": "6139be050b365a6d7dd218270d54569e7a11306c",
62
62
  "typescript": {
63
63
  "definition": "lib/index.d.ts"
64
64
  }