FIS Configuration Tips

Source: Internet
Author: User

Before using the FIS, found the configuration roadmap when there is a very strange phenomenon: the command line using the-o parameter, the configuration file in the HTML does not use optimization, resulting in the Uglify JS file, will not modify the HTML reference to JS, still refer to the previous JS, not cited After the use of uglify changed the MD5 JS.

Tried to modify countless times, repeatedly verify the experiment, minimize the project code and rerun, the result is the same. Baffled, and then contacted the FIS developers, only to understand that the FIS built up some logic, if the use of Fis.config.merge will cause some strange situation.

Once you know this, it's easy to change the configuration. We just need to change the Fis.config.merge to Fis.config.get (' Roadmap.path '). Unshift () to add the configuration to the original configuration.

In short, the FIS Official document explanation is not enough detailed ah ...

FIS Configuration Tips

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.