BundleAssetsOptions

  • typedef
steal-tools.BundleAssetsOptions {Object}  

Used to bundle your assets along with your JavaScript and CSS. Setting this option to true will bundle assets that are inferred from your project (such as CSS url()s) and placed into your dist folder.

Object

Properties

  1. infer=true {Boolean}Optional

    Controls whether assets are inferred from the project's contents. Set to false if you want to manually select assets.

  2. glob {Glob | Array<Glob>}

    A glob pattern (or Array of glob patterns) of files that need to be copied to the dist folder.

Help us improve StealJS by taking our community survey