@yueqing/webpack
TypeScript icon, indicating that this package has built-in type declarations

1.6.2 • Public • Published

@yueqing/webpack

@yueqing/webpack is a webpack cli, out-of-box.

Usage

Install

yarn add @yueqing/webpack -D

# or

npm install @yueqing/webpack -D

Development

yq-webpack start

Build

yq-webpack build

CLI command

yq-webpack

  • --version, -V get yq-webpack version

yq-webpack start

--

yq-webpack build

--

Custom Config

Add yueqing.config.js at your project root.

/**
 * @type {import('@yueqing/webpack/lib/interface').UserConfig}
 */
module.exports = {
  //.. config
}

target

Default

'web'

entry

Default

{
  app: [
    path.join(__dirname, './template.ejs')
  ]
}

alias

Default

{
  '@': path.join(process.env.PWD, './src'),
}

htmlWebpack

Default

{
  title: 'YueQing',
  inject: 'body',
  meta: {
    charset: 'UTF-8',
    viewport: 'width=device-width, initial-scale=1.0',
  },
  template: path.join(__dirname, './template.ejs'),
}

Readme

Keywords

none

Package Sidebar

Install

npm i @yueqing/webpack

Weekly Downloads

1

Version

1.6.2

License

MIT

Unpacked Size

28.1 kB

Total Files

24

Last publish

Collaborators

  • wsjsimon