Socket
Socket
Sign inDemoInstall

meetyou-file-loader

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    meetyou-file-loader

meetyou file-loader,base on webpack file-loader,It's used to change image url without remove it's paramter


Version published
Weekly downloads
5
increased by25%
Maintainers
1
Install size
171 kB
Created
Weekly downloads
 

Readme

Source

joi express middleware

npm install meetyou-express-joi --save

github

https://github.com/linweiwei123/meetyou-file-loader

Example

    {
      test: /\.(jpg|png|webp)$/,
      exclude: /(node_modules)/,
      use: [{
        loader: 'meetyou-url-loader',
        options: {
          name: '[name].[hash].[ext]',
          limit: 10,
          paramFlag:'x-oss-process=image/format,webp'
        }
      }]
    }

    <img class="bg-img" src="../images/bg.png?x-oss-process=image/format,webp" alt="">

    change to

    <img class="bg-img" src="../images/bg.png?x-oss-process=image/format,webp" alt="">

    without remove the '?x-oss-process=image/format,webp'

 })

Keywords

FAQs

Last updated on 30 Nov 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc