0.0.16 • Published 3 years ago

@peanutfe/cli-service v0.0.16

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

CONFIG

  • default config file in the root fe.config.js
  • support params

    nametypedefaultdescribe
    outputString./distoutput dir
    publicPathString./public url
    sourceString./pagessource pages dir
    pageConfigNameStingdeploy.jsonpage deploy config
    webpackChainFunction()=>{}webpack chain
    afterBuildFunction()=>{}after build hook
  • example

// fe.config.js
module.exports = {
  source: './pages',
  output: './dist',
  publicPath: 'https://cdn.aliyun.com/test' || './', // support cdn or root deploy
};