tuhub-mars-cli
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

mars-cli

途虎b端组件库打包脚手架

V0.6

tsx支持

V0.0.8

delete double nodeResolver

V0.0.9

支持rollup 编译less "~" alias

V0.1.1

升级rollup-plugin-postcss

V0.1.3

添加部署系统.complete

脚手架配置文件: mars.config.js

脚手架配置文件

    module.exports = {
    // ...
    } as OuterConfig;
    interface OuterConfig {
      entry?: ObjectType; // 入口文件
      htmlTempOpts?: Array<TempOpts>; // html模版信息
      outputPath?: string; // 出口文件
      assetsPublicPath?: string; // 静态文件地址
      cacheDir?: string; // 缓存文件目录
      babelPlugins?: any[]; // babel插件
      jsIncludes?: Array<string|RegExp>; // 要babel 编译的js文件列表
      jsExcludes?: Array<string|RegExp>; // 忽略编译的js文件列表
      alias?: ObjectType; // webpack resolve alias
      sourceMap?: boolean; //是否开启sourceMap
      extractCss?: boolean;
      customLoaders?: RuleSetLoader[],
      webpackPlugins?: any[],
    }

Readme

Keywords

none

Package Sidebar

Install

npm i tuhub-mars-cli

Weekly Downloads

15

Version

0.2.2

License

ISC

Unpacked Size

155 kB

Total Files

117

Last publish

Collaborators

  • arronlovespudding
  • debby
  • wangxuke1234