stealjs / steal-tools

Build easy. Load fast.
https://stealjs.com/docs/steal-tools.html
MIT License
67 stars 23 forks source link

Adds the +bundled-es export helper #1022

Closed matthewp closed 6 years ago

matthewp commented 6 years ago

This adds a +bundled-es export helper that will create a bundle of ES modules.

Example usage:

stealExport({
    steal: {
        config: __dirname+"/package.json!npm"
    },
    options: {},
    "outputs": {
        "+bundled-es": {
            dest: __dirname + "/dist/library.mjs"
        }
    }
})
coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.08%) to 93.518% when pulling 86e973a65c1459a538156effb5a5b9d4dd5864a5 on export-es into 75988a9fcac97eb7dff205fc72dd1022ede68f73 on major.