webpack-config-avocado
An opinionated webpack config for El Mango projects
Last updated 10 months 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 (10 months ago)

3 Versions

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

Copyright 2014 - 2017 © taobao.org |