xp-forge / frontend

Web frontends
1 stars 1 forks source link

Support glob patterns and directories for local dependencies #33

Closed thekid closed 1 year ago

thekid commented 1 year ago

Given the following package.json:

{
  "dependencies": {
    "ol": "^7.1"
  },
  "bundles": {
    "vendor": {
      "ol": "ol.css | dist/ol.js",
      "fonts://display=swap": "Overpass",
      ".": "src/main/js/lightbox.js | src/main/js/suggestions.js | src/main/js/mapping.js | src/main/js/theme.js"
    }
  }
}

...we can now replace the line starting with . with the following:

thekid commented 1 year ago

Released in https://github.com/xp-forge/frontend/releases/tag/v4.1.0