Git Product home page Git Product logo

fis3-deploy-skip-packed's Introduction

fis3-deploy-skip-packed

过滤掉已经被打包的资源.

示例

fis.match('**', {
  deploy: [
    fis.plugin('skip-packed', {
      // 配置项
    }),

    fis.plugin('local-deliver', {
      to: 'output'
    })
  ]
})
  • 升级 fis3-postpackager-loader 到最新版本,如果你希望过滤掉被其 All In One 的资源。
  • 升级最新的 fis3 如果你希望过滤掉已被 css sprite 了小图片。

配置项说明

  • skipPackedToPkg 默认 true 是否过滤掉被打包的文件
  • skipPackedToAIO 默认 true 是否过滤掉被 AllInOne 打包的文件
  • skipPackedToCssSprite 默认为 true 是否过滤掉被 css sprite 合并的文件。
  • ignore 即便设置了过滤,但是如果目标文件 ignore 列表中,还是不会被过滤。glob 语法,数组或者字符串。

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.