Skip to content

Use webpack/sass-loader to precompile scss files #13204

@ChristophWurst

Description

@ChristophWurst

Is your feature request related to a problem? Please describe.
We still compile scss files dynamically on the server, although they could be precompiled into our checked-in build artifacts (#13156).

Describe the solution you'd like
Use webpack with scss-loader (in combination with style-loader) to precompile on npm build once #13156 got merged into master.

Not only will it remove load from the server, it will make it possible to bundle more of these style sheets into a single bundle (either together with the scripts or a dedicated style bundle).

Describe alternatives you've considered
Don't change this.

cc @nextcloud/javascript @nextcloud/theming

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions