create-favicons-partial-webpack
v1.0.3
Published
Webpack plugin for creating a favicons twig partial generated from the output of favicons-webpack-plugin
Downloads
7
Readme
Create favicons partial plugin for WebPack
Very simple plugin to create a favicons files from the .cache
file which is generated by the favicons-webpack-plugin
Installation
npm i create-favicons-partial-webpack -D
Usage
const CreateFaviconsPartialPlugin = require('create-favicons-partial-webpack');
module.exports = {
plugins: [
new CreateFaviconsPartialPlugin({
path: `${__dirname}/../../craft/templates/`,
fileName: 'i-head-favicons.twig',
inputFilePath: `${__dirname}/../../public/resources/favicons/.cache`,
}),
]
}