Skip to content

PLIP: use Vite instead of webpack #4259

@petschki

Description

@petschki

PLIP (Plone Improvement Proposal)

Responsible Persons

Proposer: Peter Mathis @petschki

Seconder:

Abstract

As a part of the code modernization of mockup, we're examining the possibility to replacement webpack with Vite.

Motivation

Use a modern frontend develpoment build-tool and bundling-tool for mockup.

Assumptions

Since we're using webpacks module federation we need a replacement for that in Vite.

Proposal & Implementation

Upgrade the bundling configurations for Vite and add documentation for addon developers how to upgrade their codebase reusing mockup modules.

Risks

Replacing webpacks module federation can be tricky. We need a solution how to develop addons by re-using the mockup codebase (eg mosaic)

Maybe even <script type="importmap"> could be a way to go.

Participants

(add your name)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions