Webpack Feature

Webpack support.

This feature is experimental and as though it may work for you, that’s not a guarantee. Please use with care.

Usage

To use the Webpack Feature, make sure your Projectfile contains the following:

from medikit import require

webpack = require('webpack')

The webpack handle is a Config instance, and can be used to customize the feature.

Implementation

class medikit.feature.webpack.WebpackFeature(dispatcher)[source]
on_make_generate(event)[source]

Listens to medikit.feature.make.on_generate event (priority: 0)

requires = {'nodejs'}