webpack-config-avocado
An opinionated webpack config for El Mango projects
Last updated a year ago by paullaros .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install webpack-config-avocado 
SYNC missed versions from official npm registry.

Webpack Config Avocado

An opinionated webpack config for El Mango projects

Features

  • webpack 4
  • es8: by babel, presets & plugins
  • sass support: with autoprefixer
  • copy tasks for fonts & images
  • eslint: with babel-eslint
  • production & development (watch) tasks
  • uglifyjs
  • autoprefixer

Basic Setup

npm install --save-dev webpack webpack-cli
npm install --save-dev webpack-config-avocado

webpack.config.js

module.exports = require('webpack-config-avocado')

src/js/app.js

document.body.innerHTML = '<h1>Hello, mangoes!</h1>'

Examples

Current Tags

  • 2.0.3                                ...           latest (a year ago)

3 Versions

  • 2.0.3                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |