Nostalgic Punchcard Missing

    vite-electron-renderer
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.3 • Public • Published

    vite-electron-renderer

    npm version
    Provides electron renederer externals support for Vite.

    Installation

    Using npm:

    $ npm install --save-dev vite-electron-renderer

    Example

    import { defineConfig } from 'vite';
    import react from '@vitejs/plugin-react';
    import electronRenderer from 'vite-electron-renderer';
    
    export default defineConfig({
        ...
         plugins: [react(), electronRenderer()],
        ...
    });

    How to work

    convert import to require for node Modules. include builtinModules, and project dependencies.

    Install

    npm i vite-electron-renderer

    DownloadsWeekly Downloads

    2

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    36.6 kB

    Total Files

    8

    Last publish

    Collaborators

    • gaoshang212