@not-govuk/webpack-config

0.8.6 • Public • Published

Not Govuk - Webpack Config

Webpack config for NotGovUK applications.

Using this package

First install the package into your project:

npm install -D @not-govuk/webpack-config

Then use it in your webpack.config.js as follows:

const generateConfig = require('@not-govuk/webpack-config');

const webpackConfig = generateConfig({
  baseDir: __dirname,
  entry: './src/client/index.ts',
  outDir: './dist/public',
  production: process.env.NODE_ENV !== 'development',
  tsConfig: 'tsconfig.json'
});

module.exports = webpackConfig;

Working on this package

Before working on this package you must install its dependencies using the following command:

pnpm install

Currently all testing is manual.

Readme

Keywords

none

Package Sidebar

Install

npm i @not-govuk/webpack-config

Weekly Downloads

10

Version

0.8.6

License

MIT

Unpacked Size

14.3 kB

Total Files

4

Last publish

Collaborators

  • daniel-ac-martin