Coder Social home page Coder Social logo

关于amd的shim问题 about fis3 HOT 7 CLOSED

fex-team avatar fex-team commented on May 29, 2024
关于amd的shim问题

from fis3.

Comments (7)

vaseala avatar vaseala commented on May 29, 2024

前段一直看fis,这几天一直看fis3. 可以看出有很多改进的地方,唯一不顺手的地方就是模块化这部分,感觉遇到的问题多,文档少

from fis3.

hanai avatar hanai commented on May 29, 2024

之前正常用的amd模块这次都有warning了

from fis3.

2betop avatar 2betop commented on May 29, 2024

怎么关了?我还没试的呢!

warning应该是署名模块,这个本来是不推荐的,所以有个 warning

from fis3.

hanai avatar hanai commented on May 29, 2024

@2betop 哦,那些多是jquery,webuploader之类的,是不是isMod: false就可以了?
还有提示 but it will be erased anyway 是什么意思?

from fis3.

2betop avatar 2betop commented on May 29, 2024

这个 warning 是正确的,就是目标模块是署名模块,在fis3中是不能有署名模块的,所以会把署名模块名删除,换成 fis 的规则。这个 warning 可以忽略。

from fis3.

milkbobo avatar milkbobo commented on May 29, 2024

Onymous module jquery is not allowed here in /jquery.js, but it will be erased anyway.
还是没有封包成组件mod

from fis3.

2betop avatar 2betop commented on May 29, 2024

这个 warning 可以忽略,是说不允许署名模块,但是署名模块也被当成了匿名模块处理,原来的模块名会被修改。

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.