Skip to content
This repository has been archived by the owner on May 22, 2023. It is now read-only.

Common development configuration for LaxarJS artifacts

Notifications You must be signed in to change notification settings

LaxarJS/laxar-infrastructure

Repository files navigation

LaxarJS Infrastructure

base webpack/karma configuration for LaxarJS core modules

This is mainly intended for internal use by LaxarJS artifacts, to avoid duplicating webpack and karma configuration across projects.

Usage

The basic steps

  • yarn add --dev laxar-infrastructure

  • webpack.config.js: generate configuration using:

    • require( 'laxar-infrastructure' ).webpack( { context: __dirnamne } ).library() and/or
    • require( 'laxar-infrastructure' ).webpack( { context: __dirnamne } ).browserSpec( filePatterns )
  • karma.config.js: generate configuration using:

    • require( 'laxar-infrastructure' ).karma( filePatterns, webpackConfig )

      here you may want to load the webpackConfig from the webpack.config.js

About

Common development configuration for LaxarJS artifacts

Resources

Stars

Watchers

Forks

Packages

No packages published