0.8.0 • Published 1 year ago

@morfeo/webpack v0.8.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@morfeo/webpack

Morfeo logo

@morfeo/webpack is a webpack plugin that enables the evaluation at build time of morfeo.


Documentation | API | Contributing | Discord


Installation

# With npm
npm install --save-dev @morfeo/webpack

# With yarn
yarn add --dev @morfeo/webpack

Once the plugin is installed you can add it the plugins in your webpack configuration:

webpack.config.js

const { MorfeoWebpackPlugin } = require('@morfeo/webpack');

module.exports = {
  ...yourWebpackConfiguration,
  plugins: [
    ...yourOtherPlugins,
    new MorfeoWebpackPlugin({}),
  ],
};