Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
fary-config-creator
Advanced tools
'development'或者'production',如果不传,会根据NODE_ENV
读取
不适用默认loader配置,需要在外部自行用webpack-merge加入
一组loader配置,将直接作为loader配置
export interface IRuleOptions {
vueLoaderOptions: object, // vue loader 配置
babelConfigs: object, // babel 配置,大部分情况下可以使用.babelrc
disableEslint: boolean, // 不适用eslint检查代码
useDefaultCssConfig: boolean // 是否使用默认css配置
}
jsdoc提醒等级,默认为1
传入px2rem的配置,如果不传则不开启该功能
尽量保证客户端配置和服务端配置提取css的配置一致,以保证最终的渲染效果相同,过vue-loader
的提取css配置:
{
...
loader: 'vue-loader',
options: {
extractCSS: true
}
...
}
建议在任何情况下,都设置服务端配置为导出css(尽管vue-server-renderer会帮助处理.vue文件的css)
FAQs
a common config generator for fary project
We found that fary-config-creator 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.