Coder Social home page Coder Social logo

打包时文件顺序的问题 about fis3 HOT 13 CLOSED

fex-team avatar fex-team commented on May 31, 2024
打包时文件顺序的问题

from fis3.

Comments (13)

vaseala avatar vaseala commented on May 31, 2024

fis老版本中可以用数组解决这个问题,fis3我用数组构建不成功!求解决方案!

from fis3.

oxUnd avatar oxUnd commented on May 31, 2024

现在先标注依赖来调整顺序,我这块想的是来个数组,不过 @fouber 对这种用法不太可心,正在研讨中。

from fis3.

vaseala avatar vaseala commented on May 31, 2024

这个应该是glob模块没办法排序导致的吧?

from fis3.

oxUnd avatar oxUnd commented on May 31, 2024

@ATMjs 正则也没办法排序哦~

from fis3.

vaseala avatar vaseala commented on May 31, 2024

嗯 是的

from fis3.

vaseala avatar vaseala commented on May 31, 2024

感觉这个除了数组 还真没啥好办法

from fis3.

vaseala avatar vaseala commented on May 31, 2024

$ fis3 release -h

 Usage: fis3 release [media name]

 Options:

   -h, --help            print this help message
   -d, --dest <path>     release output destination
   -w, --watch           monitor the changes of project
   -L, --live            automatically reload your browser
   -c, --clean           clean compile cache
   -u, --unique          use unique compile caching

不明白-u参数, 不知道和-c有啥区别

from fis3.

vaseala avatar vaseala commented on May 31, 2024

貌似应该新建个issue的。。。

from fis3.

oxUnd avatar oxUnd commented on May 31, 2024

-u 支持多人同时编译。

from fis3.

vaseala avatar vaseala commented on May 31, 2024

哦 明白了

from fis3.

yolio2003 avatar yolio2003 commented on May 31, 2024

关注顺序问题的进展,-u又学到了~

from fis3.

zxw5775 avatar zxw5775 commented on May 31, 2024

@billfeller 没找到这个插件啊,在官方插件列表了吗?

from fis3.

wadezhan avatar wadezhan commented on May 31, 2024

@zxw5775
sorry,理解错了,推荐用packOrder解决fis3合并顺序问题,见文档:http://fis.baidu.com/fis3/docs/api/config-props.html#packOrder

from fis3.

Related Issues (20)

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.