Skip to content

styles do not use .min files by default like scripts #63

@chmontgomery

Description

@chmontgomery

By default, if minSrc files are specified and no useMin option is defined, minSrc should be used over src file.

For example, with no NODE_ENV defined, the following bundle.config.js will use jquery.min.js and bootstrap.css. It should use bootstrap.min.css instead.

module.exports = {
  bundle: {
    vendor: {
      scripts: {
        src: './bower_components/jquery/dist/jquery.js',
        minSrc: './bower_components/jquery/dist/jquery.min.js'
      },
      styles: {
        src: './bower_components/bootstrap/dist/css/bootstrap.css',
        minSrc: './bower_components/bootstrap/dist/css/bootstrap.min.css'
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions