Skip to content

joe223/webpack-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack-Composer

Simplify the modification of webpack configuration. This repository is WIP, do not use it in production.

Installation

yarn add @cranejs/webpack-composer

Usage

You will get Type hint with TypeScript.

const config = Composer({
    entry: 'src/entry.js',
    context: 'foo',
    output: {
        path: 'bar'
    },
    resolve: {
        extensions: ['.js', '.jsx', '.jsm']
    }
})
    .context('bar')
    .output.path(path.resolve(__dirname, 'dist'))
    .resolve.$delete()
    .$config()

About

A composer for Webpack Configuration (WIP).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published