1.0.1 • Published 4 years ago

@aschan/laravel-mix-webapp v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Laravel-mix WebApp

Leverages on Favicons Webpack Plugin and HTML Webpack Plugin to automatically generate your favicons for you and inject them into a HTML file.

Install

npm i html-webpack-plugin --save-dev
yarn add html-webpack-plugin --dev

Usage

require('laravel-mix-versionhash')

mix.webApp()

Options

optiontypedefaultdescription
logostringThe path to the logo from which the favicons will be generated
filenamestringwebapp.htmlThe filename of the HTML file that should get generated
outputPathstring/webiconsThe path to the directory where icons should be placed
prefixstringassets/webicons/The path prefix for the generated icon tags
faviconsobject{}See favicons