1.0.3 • Published 5 years ago
create-favicons-partial-webpack v1.0.3
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`,
}),
]
}