@videinfra/static-website-builder 2.0.0 → 2.0.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/get-config.js CHANGED
@@ -159,7 +159,7 @@ function itterateConfig(config, fn) {
159
159
  function mergeConfigMode(config) {
160
160
  if ('production' in config || 'development' in config) {
161
161
  const mode = global.production ? 'production' : 'development';
162
- const value = merge(config, config[mode]);
162
+ const value = typeof config[mode] === 'undefined' ? config : merge(config, config[mode]);
163
163
 
164
164
  if (value !== false) {
165
165
  return omit(value, ['production', 'development']);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@videinfra/static-website-builder",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Customizable static site project builder",
5
5
  "license": "MIT",
6
6
  "engines": {