@stellar-apps/webpack

1.0.23 • Public • Published

@stellar-apps/webpack

Used for creating webpack configurations for Stellar apps with predefined development and production configs.

The configs provided to the createDevelopment and createProduction functions are merged to the default config in those functions and the default config in createConfig.

See the src code to view the default configs.

This also comes packaged with a startDevServer function which creates a Webpack development server with the provided config, port, and webpack-dev-server options.

Installation

yarn add @stellar-apps/webpack

Usage

const {createDevelopment, createProduction} = require('@stellar-apps/webpack')

const myDevConfig = createDevelopment({
  ...devConfigs
})

const myProdConfig = createProduction({
  ...prodConfigs
})

startDevServer (options <Object>)

  • options

Readme

Keywords

none

Package Sidebar

Install

npm i @stellar-apps/webpack

Weekly Downloads

1

Version

1.0.23

License

MIT

Unpacked Size

37.5 kB

Total Files

23

Last publish

Collaborators

  • jaredlunde
  • relytmcd