@site-o-mat/webpack-plugin (0.2.0)

Published 2 years ago by HerrHase

Installation

@site-o-mat:registry=https://git.node001.net/api/packages/site-o-mat/npm/
npm install @site-o-mat/webpack-plugin@0.2.0
"@site-o-mat/webpack-plugin": "0.2.0"

About this package

Site-O-Mat / Webpack Plugin

A Webpack Plugin that wraps @site-o-mat/core.

Installation

Setup this registry in your project .npmrc file:

@site-o-mat:registry=https://gitea.node001.net/api/packages/site-o-mat/npm/

or run

npm config set @site-o-mat:registry=https://gitea.node001.net/api/packages/site-o-mat/npm/

Install with npm or yarn

npm i --save-dev @site-o-mat/webpack-plugin
yarn add --dev @site-o-mat/webpack-plugin

Configuration

Basic Usage:

const SiteomatWebpackPlugin = require('@site-o-mat/webpack-plugin')

plugins: [
    new SiteomatWebpackPlugin(
        './resources/site',
        './resources/views'
    )
]

Add options:

plugins: [
    new SiteomatWebpackPlugin(
        './resources/site',
        './resources/views',
        {
            <options>
        }
    )
]

Dependencies

Dependencies

ID Version
@site-o-mat/core ^0.2.0
Details
npm
2 years ago
13
Björn Hase
1.8 KiB
Assets (1)
Versions (8) View all
0.5.0 on 2023-08-11
0.4.1 on 2023-03-28
0.4.0 on 2023-03-22
0.3.2 on 2023-03-13
0.3.1 on 2023-03-13