@best-shot/core
v0.10.11
Published
Create 'best-shot' config chain
Downloads
1,009
Maintainers
Readme
@best-shot/core
Create 'best-shot' config chain.
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.