Skip to content

Split vendor css into its own file #598

@ronjouch

Description

@ronjouch

This is a followup to bootstrap-vue/bootstrap-vue#143 - Document including Bootstrap CSS, in which I'm asking for advice to integrate CSS dependencies into my vuejs-templates/webpack-based app.

In comment bootstrap-vue/bootstrap-vue#143 (comment), I'm advised to configure my webpack build to emit two separate bundles app.css and vendor.css. This for the same reasons it's done for the js, in order to:

  1. Limit the number of network requests, while ensuring to...
  2. ... make the slowly-changing vendor.<hash>.css as cache-friendly as possible.

I'm now looking at my webpack build configuration, which is mostly this template untouched, and I don't think this is currently baked in it.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions