Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@hs-web-team/webpack-config

Package Overview
Dependencies
Maintainers
65
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hs-web-team/webpack-config

A shared webpack configuration for HubSpot CMS projects

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
65
Created
Source

@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;

FAQs

Package last updated on 09 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts