Skip to content

Identify Webpack exiting configuration replacements for Vite #13265

@cnotv

Description

@cnotv

Description

As we finally migrated to Vue3, migration to Vite is now possible but requires investigation over existing Webpack logic.

Context

Webpack NormalModuleReplacementPlugin

A particular attention will have to go to the Webpack configuration and the use of the NormalModuleReplacementPlugin() as it will have to be replaced by the Vite Plugin API (Thanks @catherineluse for the mention)

Webpack require.context()

In the project often, components are loaded globally or specifically in bulk. This has been already crossed as Webpack issue migrating from 4 to 5 (used by Vue3): #11773

Webpack VirtualModulesPlugin

TBD alternatives

Webpack BundleAnalyzerPlugin

TBD alternatives

CopyWebpackPlugin

TBD alternatives

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions