frack-build-config-factory

0.8.1-beta.21 • Public • Published

Logo of the project

Frack Build Config Factory

Utility scripts to create opinionated webpack and rollup configuration.

Versioning

We use SemVer for versioning. For the versions available, see the link to tags on this repository.

Tests

@TODO

API

Table of Contents

configFactory

configFactory

Function which generates webpack config from passed options

Parameters

  • options Config Build settings, target and stuff

Returns Object

CSSLoaderFactoryOptions

isNode

Is build target NodeJS

isWeb

Is build target web

isProd

Is production build

enableModules

Enable CSS modules

getCssLoaders

CSS Loader factory

Parameters

Returns any

Get Javascript Loader for passed config

Parameters

  • config {isProd: boolean, isDev: boolean, babelConfig: Object, root: string} Configuration object

Returns Object Webpack loader config

Api Reference

If the api is external, link to api documentation. If not describe your api including authentication methods as well as explaining all the endpoints with their required parameters.

Database

Explaining what database (and version) has been used. Provide download links. Documents your database design and schemas, relations etc...

Licensing

State what the license is and how to find the text version of the license.

Readme

Keywords

Package Sidebar

Install

npm i frack-build-config-factory

Weekly Downloads

7

Version

0.8.1-beta.21

License

MIT

Unpacked Size

114 kB

Total Files

16

Last publish

Collaborators

  • viktorbezdek