0.3.0 • Published 2 years ago

packaging-scripts v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

packaging-script

dev

yarn 

yarn link

// You can now run `yarn link "packaging-scripts"` in the projects where you want to use this package and it will be used instead.
yarn link "packaging-scripts"

package-scripts start or package-scripts build

.defaultrc.json

自定义 webpack 配置

字段默认值描述
appPathsrc入口地址
appEnter./src/index.tsx入口文件
appOutputRootdist出口文件
useStylelintfalse开启的话,就需要在根目录存放 stylelint.config.js
stylelintConfig./stylelint.config.js需要和 useStylelint 一起使用
useDefaultTsConfigfalse是否采用 typescript 进行编程,如果为 true,项目中需要添加 tsconfig.json 文件