easywebpack-vue
vue webpack building solution for easywebpack
Last updated 5 years ago by hubcarl .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install easywebpack-vue 
SYNC missed versions from official npm registry.

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

Current Tags

  • 3.7.1                                ...           3.x (8 years ago)
  • 5.1.1                                ...           5x (5 years ago)
  • 5.1.1                                ...           latest (5 years ago)
  • 4.5.0-alpha.1                                ...           next (7 years ago)

67 Versions

  • 5.1.1                                ...           5 years ago
  • 5.1.0                                ...           5 years ago
  • 5.1.0-beta.2                                ...           5 years ago
  • 5.1.0-beta.1                                ...           5 years ago
  • 5.0.1                                ...           5 years ago
  • 5.0.0                                ...           5 years ago
  • 5.0.0-beta.1                                ...           6 years ago
  • 4.5.0-alpha.1                                ...           7 years ago
  • 4.5.0                                ...           7 years ago
  • 4.4.0                                ...           7 years ago
  • 4.4.0-next                                ...           7 years ago
  • 4.3.0-next                                ...           7 years ago
  • 4.3.0                                ...           7 years ago
  • 4.3.0-rc.1                                ...           7 years ago
  • 4.2.1                                ...           7 years ago
  • 4.2.0                                ...           8 years ago
  • 4.2.0-rc.1                                ...           8 years ago
  • 4.1.2                                ...           8 years ago
  • 4.1.1                                ...           8 years ago
  • 4.1.0-rc.1                                ...           8 years ago
  • 4.0.4                                ...           8 years ago
  • 4.0.3                                ...           8 years ago
  • 4.0.2                                ...           8 years ago
  • 3.7.1                                ...           8 years ago
  • 3.7.0                                ...           8 years ago
  • 4.0.1                                ...           8 years ago
  • 4.0.0                                ...           8 years ago
  • 4.0.0-beta.3                                ...           8 years ago
  • 4.0.0-beta.2                                ...           8 years ago
  • 4.0.0-beta.1                                ...           8 years ago
  • 3.7.0-rc.2                                ...           8 years ago
  • 3.7.0-rc.1                                ...           8 years ago
  • 3.6.0                                ...           8 years ago
  • 3.6.0-rc.3                                ...           8 years ago
  • 3.6.0-rc.2                                ...           8 years ago
  • 3.6.0-rc.1                                ...           8 years ago
  • 3.5.1                                ...           8 years ago
  • 3.5.0                                ...           8 years ago
  • 3.2.3                                ...           8 years ago
  • 3.3.0-rc.1                                ...           8 years ago
  • 3.2.2                                ...           8 years ago
  • 3.3.0-beta.5                                ...           8 years ago
  • 3.3.0-beta.3                                ...           8 years ago
  • 3.3.0-beta.2                                ...           8 years ago
  • 3.3.0-beta.1                                ...           8 years ago
  • 3.2.1                                ...           8 years ago
  • 3.2.0                                ...           9 years ago
  • 3.2.0-rc4                                ...           9 years ago
  • 3.2.0-rc1                                ...           9 years ago
  • 3.0.0                                ...           9 years ago
  • 3.0.0-rc3                                ...           9 years ago
  • 3.0.0-rc2                                ...           9 years ago
  • 3.0.0-rc1                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.9.2                                ...           9 years ago
  • 0.9.1                                ...           9 years ago
  • 0.9.0                                ...           9 years ago
  • 0.8.0                                ...           9 years ago
  • 0.7.0                                ...           9 years ago
  • 0.6.0                                ...           9 years ago
  • 0.5.5                                ...           9 years ago
  • 0.5.1                                ...           9 years ago
  • 0.5.0                                ...           9 years ago
  • 0.2.0                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 26
Last Month 26
Dependencies (6)
Dev Dependencies (15)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |