create-lupine 1.0.18 → 1.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-lupine",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Scaffolding tool for Lupine.js projects",
5
5
  "bin": {
6
6
  "create-lupine": "index.js"
@@ -289,8 +289,8 @@ const start = async () => {
289
289
  const isMobile = process.argv.find((i) => i === '--mobile=1'); // when this changed, need to rebuild index.html
290
290
  const isObfuscate = !isDev && process.argv.find((i) => i === '--obfuscate=1');
291
291
  // this is for esbuild conditional compile
292
- ifPluginVars.DEV = isDev ? '1' : '0';
293
- ifPluginVars.MOBILE = isMobile ? '1' : '0';
292
+ ifPluginVars.DEV = isDev ? '1' : '';
293
+ ifPluginVars.MOBILE = isMobile ? '1' : '';
294
294
 
295
295
  // All apps should be defined in .env file like this:
296
296
  // APPS=domain1.com,domain2.com