gpt4 book ai didi

mean.io - 使用 Mean.io - 如何禁用 JS 文件聚合

转载 作者:行者123 更新时间:2023-12-02 03:32:44 25 4
gpt4 key购买 nike

在开发过程中,我希望加载原始(未聚合).js 文件。

Mean.io 文档说:

All javascript within public is automatically aggregated with the exception of files in assets.

这是我的文件结构:

public            
--- assets # Javascript/Css/Images (not aggregated)
--- controllers
--- config
--- services
--- views

如何在公共(public)场合禁用所有 .js 文件的聚合?

最佳答案

我使用的是 0.6.16 版本。你可以设置

aggregate:false

在 config/env/.js 文件中禁用 js 和 css 文件的聚合

关于mean.io - 使用 Mean.io - 如何禁用 JS 文件聚合,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25698549/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com