{
  "dotenv": {
    "file": "../../.env"
  },
  "paths": {
    "src": "assets",
    "dist": "dist"
  },
  "tasks": {
    "icons": {
      "src": "assets/images/icons/**/*.svg",
      "dist": "dist/images"
    },
    "images": {
      "src": "assets/images/**/*.{png,gif,jpg,jpeg,svg}",
      "dist": "dist/images"
    },
    "javascript": {
      "src": "assets/scripts/**/*.js",
      "dist": "dist/scripts",
      "main": "assets/scripts/main.js",
      "bundles": [
        {
          "bundle": "bundle.js",
          "watch": true,
          "babel": {
            "plugins": [
              "@babel/plugin-proposal-object-rest-spread",
              "@babel/plugin-proposal-nullish-coalescing-operator",
              "@babel/plugin-proposal-optional-chaining"
            ],
            "presets": [
              [
                "@babel/preset-env",
                {
                  "targets": "> 0.25%, not dead"
                }
              ]
            ]
          }
        }
      ]
    },
    "sass": {
      "src": "assets/styles/**/*.scss",
      "dist": "dist/styles",
      "main": ["assets/styles/base.scss"]
    }
  }
}

{
  "dotenv": {
    "file": "../../.env"
  },
  "paths": {
    "src": "assets",
    "dist": "dist"
  },
  "tasks": {
    "icons": {
      "src": "assets/images/icons/**/*.svg",
      "dist": "dist/images"
    },
    "images": {
      "src": "assets/images/**/*.{png,gif,jpg,jpeg,svg}",
      "dist": "dist/images"
    },
    "javascript": {
      "src": "assets/scripts/**/*.js",
      "dist": "dist/scripts",
      "main": "assets/scripts/main.js",
      "bundles": [
        {
          "bundle": "bundle.js",
          "watch": true,
          "babel": {
            "plugins": [
              "@babel/plugin-proposal-object-rest-spread",
              "@babel/plugin-proposal-nullish-coalescing-operator",
              "@babel/plugin-proposal-optional-chaining"
            ],
            "presets": [
              [
                "@babel/preset-env", {
                  "targets": "defaults"
                }
              ]
            ]
          }
        }
      ]
    },
    "sass": {
      "src": "assets/styles/**/*.scss",
      "dist": "dist/styles",
      "main": ["assets/styles/base.scss"]
    }
  }
}

Set basic config example to browserslist defaults
Set basic config example to browserslist defaults
