![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
sudo npm install fbuild -g
cd [目录]
fbuild init
fbuild init.pack hello
fbuild init.pack hello 1.0.2
fbuild build.doc hello
# 生成1.0.2文档
fbuild build.doc hello 1.0.2
fbuild
cd [png目录]
fbuild sp out=../img less=../less
|- static
|- js
|- fbuild.json #fbuild 的配置文件
|- config.js #根据构建的内容,自动生成配置
|- config.dev.js #根据构建的内容,自动生成配置, dev 环境
|- pack
|- hello
|- dist
|- hello.all.js #自动合并
|- hello.min.xxxxxx.js #压缩并根据内容hash文件名
|- src
|- index.js
|- word.js
define('tpl/*') 为保留前缀,所有自动生成的模板, 使用该规则,生成 AMD 规则的model
|- [static]
|- tpl #模板根目录
|- pack #模板所在的包,对应 defind('tpl/pack')
|- index.html
|- test.html
这时,调用 tpl/pack/test.html 的内容,只需执行
require(['tpl/pack'], function(pack){
console.log(pack['test.html']);
});
|- [static]
|- style
|- less #less源文件存放目录
|- css #编译后的文件存放目录
!!默认!! 最后编辑那个版本,就用那个版本
如需要指定版本,请编辑 fbuild.json
{
"//": "指定包的版本,注:如果没有指定,修改那个版本,就使用那个版本",
"packVersion": {
"packName": "1.0.4"
}
}
sudo npm update -g fbuild
FAQs
build tool
The npm package fbuild receives a total of 3 weekly downloads. As such, fbuild popularity was classified as not popular.
We found that fbuild demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.