1.0.5 • Published 7 years ago

webpack-config-vue v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

webpack-config-vue build status

Reusable Webpack config for Vue.js

Install

You should install webpack-config-babel6 first.

$ npm install --save-dev webpack-config-vue

Example

In your webpack.config.js:

const babel = require('webpack-config-babel6')
const vue = require('webpack-config-vue')

let config = {
  entry: './main.js',
  output: {
    path: __dirname + '/build',
    filename: 'bundle.js'
  }
}

config = babel(config)
config = vue(config)

// apply postcss plugins
config.vue.postcss = [
  require('precss')
]

module.exports = config

License

MIT © EGOIST

1.0.5

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago