Giter Site home page Giter Site logo

anton-drobot / webpack-external-svg-sprite Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 29 KB

A plugin for webpack that converts all your SVGs into symbols and merges them into a SVG sprite.

Home Page: https://www.npmjs.com/package/webpack-external-svg-sprite

License: MIT License

JavaScript 100.00%
icons sprites svg svg-sprites webpack webpack-plugin

webpack-external-svg-sprite's People

Contributors

anton-drobot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

voltra

webpack-external-svg-sprite's Issues

Migrate to `Tapable.hooks` API

Webpack 4.43.0 issues a deprecation warning for the Tapable.plugin API. Migrating the relevant code to the Tapable.hooks as suggested by the warnings would be appreciated.

Here is the complete stack trace for better analysis and understanding:

(node:24048) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
    at SvgStorePlugin.apply (<wd>\node_modules\webpack-external-svg-sprite\build\index.js:87:22)
    at webpack (<wd>\node_modules\webpack\lib\webpack.js:51:13)
    at processOptions (<wd>\node_modules\webpack-cli\bin\cli.js:272:16)
    at <wd>\node_modules\webpack-cli\bin\cli.js:364:3
    at Object.parse (<wd>\node_modules\yargs\yargs.js:576:18)
    at <wd>\node_modules\webpack-cli\bin\cli.js:49:8
    at Object.<anonymous> (<wd>\node_modules\webpack-cli\bin\cli.js:366:3)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (<wd>\node_modules\webpack\bin\webpack.js:156:2)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.