@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.
- package/lib/utils/utils.cjs +1 -1
- package/lib/utils/utils.js +1 -1
- package/package.json +2 -2
package/lib/utils/utils.cjs
CHANGED
|
@@ -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
|
|
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/lib/utils/utils.js
CHANGED
|
@@ -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
|
|
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.
|
|
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": "
|
|
61
|
+
"gitHead": "6139be050b365a6d7dd218270d54569e7a11306c",
|
|
62
62
|
"typescript": {
|
|
63
63
|
"definition": "lib/index.d.ts"
|
|
64
64
|
}
|