webpack-define-config
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

webpack-define-config


Provide a defineConfig function for webpack.config.js file.

Installation

npm i webpack-define-config -D
# or
yarn add webpack-define-config -D
# or
pnpm i webpack-define-config -D

Usage

// webpack.config.js

const { defineConfig } = require('webpack-define-config');

module.exports = defineConfig({
    entry: {
        // ...
    }
});

Credits

Package Sidebar

Install

npm i webpack-define-config

Weekly Downloads

11

Version

0.0.1

License

MIT

Unpacked Size

339 kB

Total Files

6

Last publish

Collaborators

  • fangkun_dev