Skip to content

Latest commit

 

History

History

core

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@best-shot/core logo

Create 'best-shot' config chain.

npm github node

This tool includes the following packages:

  • case-sensitive-paths-webpack-plugin
  • clean-webpack-plugin
  • copy-webpack
  • terser-webpack-plugin
  • webpack-chain

Installation

npm install @best-shot/core --save-dev

Usage

import { BestShot } from '@best-shot/core';

new BestShot().setup({
  presets: ['babel'],
  mode: 'production',
  config: {
    polyfill: {
      usage: 'global'
    }
  }
});

new BestShot().setup({
  presets: ['style'],
  mode: 'development',
  watch: true
});

Inspiration

This project is inspired by neutrinojs.