@best-shot/core

0.10.11 • Public • Published

@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.

Package Sidebar

Install

npm i @best-shot/core

Weekly Downloads

226

Version

0.10.11

License

MIT

Unpacked Size

32 kB

Total Files

23

Last publish

Collaborators

  • airkro