@best-shot/core

0.9.7 • 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'
  }
});

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

Inspiration

This project is inspired by neutrinojs.

Dependents (3)

Package Sidebar

Install

npm i @best-shot/core

Weekly Downloads

231

Version

0.9.7

License

MIT

Unpacked Size

28.7 kB

Total Files

22

Last publish

Collaborators

  • airkro