New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

laravel-mix-purge-svg

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-mix-purge-svg

PurgeSVG wrapper for Laravel Mix

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-57.14%
Maintainers
2
Weekly downloads
 
Created
Source

Purgesvg wrapper for Laravel Mix

A simple Laravel Mix wrapper for PurgeSVG.

Also available as a webpack plugin here.

Installation

npm install --save-dev laravel-mix-purge-svg
yarn add --dev laravel-mix-purge-svg

Config

By default the plugin assumes you have the configuration file purgesvg.js inside your root directory. You can copy the default empty config file from the plugin.

From inside your root application directory run:

cp ./node_modules/laravel-mix-purge-svg/purgesvg.js .

All configuration options can be found here.

Usage

Example webpack.mix.js
let mix = require('laravel-mix');
require('laravel-mix-purge-svg');

mix
  .js('resources/js/app.js', 'public/js')
  .sass('resources/sass/app.scss', 'public/css')
  .purgeSvg()

Keywords

FAQs

Package last updated on 28 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc