5.1.1 • Published 3 years ago

easywebpack-vue v5.1.1

Weekly downloads
84
License
MIT
Repository
github
Last release
3 years ago

easywebpack-vue

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Webpack client render and server side render build solution for Vue

Featues

easywebpack

see easywebpack

Documents

Version

  • easywebpack-vue ^5.x.x > Webpack 5.x.x + Babel 7
  • @easy-team/easywebpack-vue ^4.x.x > Webpack 4.x.x + Babel 7
  • easywebpack-vue ^4.x.x > Webpack 4.x.x + Babel 6
  • easywebpack-vue ^3.x.x > Webpack 3.x.x + Babel 6

Install

$ npm i easywebpack-vue --save-dev

Usage

webpack.config.js

const easywebpack = require('easywebpack-vue');
const webpack = easywebpack.webpack;
const merge = easywebpack.merge;
const baseWebpackConfig = easywebpack.getWebpackConfig({
    env, // support dev, test, prod 
    target : 'web', // browser mode build
    entry:{
        app: 'src/index.js'
    }
});
module.exports = merge(baseWebpackConfig, {
   
})

use webpack command build

webpack --config webpack.config.js

base easywebpacack-cli build mode

const webpackConfig = require('./webpack.config.js');

if (process.env.NODE_SERVER) {
  // development mode: webpack building and start webpack hot server
  easywebpack.server(config);
} else {
  // build file to disk
  easywebpack.build(config);
}

Example

Questions & Suggestions

Please open an issue here.

License

MIT

5.1.1

3 years ago

5.1.0

3 years ago

5.1.0-beta.1

3 years ago

5.1.0-beta.2

3 years ago

5.0.1

3 years ago

5.0.0

4 years ago

5.0.0-beta.1

4 years ago

4.5.0-alpha.1

5 years ago

4.5.0

5 years ago

4.4.0

5 years ago

4.4.0-next

5 years ago

4.3.0-next

5 years ago

4.3.0

6 years ago

4.3.0-rc.1

6 years ago

4.2.1

6 years ago

4.2.0

6 years ago

4.2.0-rc.1

6 years ago

4.1.2

6 years ago

4.1.1

6 years ago

4.1.0-rc.1

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

3.7.1

6 years ago

3.7.0

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

4.0.0-beta.3

6 years ago

4.0.0-beta.2

6 years ago

4.0.0-beta.1

6 years ago

3.7.0-rc.2

6 years ago

3.7.0-rc.1

6 years ago

3.6.0

6 years ago

3.6.0-rc.3

6 years ago

3.6.0-rc.2

6 years ago

3.6.0-rc.1

6 years ago

3.5.1

6 years ago

3.5.0

6 years ago

3.2.3

6 years ago

3.3.0-rc.1

6 years ago

3.2.2

6 years ago

3.3.0-beta.5

6 years ago

3.3.0-beta.3

6 years ago

3.3.0-beta.2

6 years ago

3.3.0-beta.1

6 years ago

3.2.1

6 years ago

3.2.0

7 years ago

3.2.0-rc4

7 years ago

3.2.0-rc1

7 years ago

3.0.0

7 years ago

3.0.0-rc3

7 years ago

3.0.0-rc2

7 years ago

3.0.0-rc1

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago

0.8.0

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.5

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago