0.8.0 • Published 1 year ago
@morfeo/webpack v0.8.0
@morfeo/webpack
@morfeo/webpack is a webpack plugin that enables the evaluation at build time of morfeo.
Documentation | API | Contributing |
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({}),
],
};
0.8.0
1 year ago