@hs-web-team/webpack-config

1.1.1 • Public • Published

@hs-web-team/webpack-config

A shared Webpack configuration for Hubspot CMS projects.

Installation

npm install --save-dev @hs-web-team/webpack-config

Usage

The following configurations are available:

  • Hubspot CMS - cmsConfig

To use the configuration, import it from the package:

const { cmsConfig } = require('@hs-web-team/webpack-config');

You can use these configurations directly in your Webpack configuration file:

// webpack.config.js
const { cmsConfig } = require('@hs-web-team/webpack-config');

module.exports = cmsConfig;

Customizing the configuration

You can override any of the values in the configuration by spreading the object and overriding the values you want to change.

// webpack.config.js
const { merge } = require('webpack-merge');
const { cmsConfig } = require('@hs-web-team/webpack-config');

const customWebpackConfig = merge(cmsConfig, {
  // Your custom configuration
});

module.exports = customWebpackConfig;

Readme

Keywords

none

Package Sidebar

Install

npm i @hs-web-team/webpack-config

Weekly Downloads

1

Version

1.1.1

License

ISC

Unpacked Size

2.47 kB

Total Files

2

Last publish

Collaborators

  • mariana.sanchez.s
  • samorgan
  • cfritz
  • ahiremath
  • conormalone
  • nmansurov
  • bcarolan
  • cwunder_hubspot
  • dgroechel_hs
  • sasharma
  • gsugrue_npm
  • annagallo-hs
  • rraj_hubspot
  • mbegyn
  • hzahra
  • mlamacchia
  • ralo_alo
  • yjgcharriz
  • damartinez
  • mvalenciahubspot
  • leocifnpm
  • cumana
  • mahad2
  • siva_h
  • kelvinmr
  • iogrizovic
  • pstafford
  • conor_heffernan
  • sduque
  • sdiaz88
  • andresllinasr
  • ronaldtorresn
  • hayala
  • snigam
  • adiazcometa
  • bjacobel
  • henryqdineen
  • troche_hub
  • stevehealy
  • cprince
  • ruthfarrell
  • kimccarthy
  • bpuseyhs
  • vickytran
  • ccameron
  • sgoldenson
  • markelly-hs
  • leahshearer
  • mndhlovu
  • denishubspot
  • mhewitt
  • epayret
  • dmooney
  • kebrahim
  • lopchannorie
  • pwilver
  • tswyter
  • dding
  • tstelmach
  • hs_cfrisoli
  • priedle
  • amichelini
  • lbergin
  • nhodgkiss447
  • dharmeshs
  • lhampson
  • cutlah
  • gwilliamshubspot
  • kelin599
  • dalcantara_hs
  • aulfich-hs
  • samson.yuwono