@trinitymirrordigital/dragonfly-pug-plugin
v4.0.6-alpha.0
Published
> TODO: description
Downloads
128
Maintainers
Keywords
Readme
@trinitymirrordigital/dragonfly-pug-plugin
A webpack plugin to create pug templates for dragonfly
FORCE
Install
yarn add -D @trinitymirrordigital/dragonfly-pug-plugin
Usage
const dragonflyPugPlugin = require('dragonfly-pug-plugin');
... webpack setup
return merge(webpackConfig, {
context: resolve(context),
entry: { ...scssFiles, ...jsFiles },
plugins: [
new PugPlugin({
assetProperties, // {String} path to assets.properties file
outputFolder: publicOutputPath, // {String}Where put pug templates outputted too
pugs // {Array} array of pug template paths,
repoName // {String} name of repo,
staticPath // {String} Asset path name,
to: templateFolder, // {String} Name of templates folder
version, // {String} Build version number
}),
]
});
Please please
Copyright (c) 2022 "Reach Shared Services Ltd"