diff --git a/.grunt/compile_html.js b/.grunt/compile_html.js index f8eaa94..4140955 100644 --- a/.grunt/compile_html.js +++ b/.grunt/compile_html.js @@ -11,9 +11,8 @@ let Config = require(processCwd() + '/config.js'); // -- Get environment let env = process.argv[2] || 'development'; -if (env === 'dev') { env = 'development'; } -if (env === 'build:qa') { env = 'qa'; } -if (env === 'build:prod') { env = 'production'; } +if (env === 'dev') { env = 'development'; } +else { env = env.split(':')[1] || ''; } // -- Init Dipper let settings = Config.settings; diff --git a/package.json b/package.json index c65aa53..6d380fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vanilla-jet", - "version": "1.0.35", + "version": "1.0.36", "description": "VannilaJet framework", "main": "index.js", "bin": {