webpack-config-starter
generic react es2017 webpack config
Last updated 10 months ago by itsleeowen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install webpack-config-starter 
SYNC missed versions from official npm registry.
npm i --save webpack-config-starter

Add a webpack.config.js file to the root of your project and include:

module.exports = require("webpack-config-starter")

Add a webpack block to package.json with your entry files:

"webpack": {
	"entry": {
		"index.html": "./src/index.html",
		"index.js": "./src/index.js"
	},
}

Want to expose environment variables to your javascript? Use a .env file in the root of your project. The variables will be accessible on process.env, such as process.env.PUBLIC_KEY.

PUBLIC_KEY=asdf

Current Tags

  • 0.0.30                                ...           latest (10 months ago)

29 Versions

  • 0.0.30                                ...           10 months ago
  • 0.0.29                                ...           10 months ago
  • 0.0.28                                ...           10 months ago
  • 0.0.27                                ...           10 months ago
  • 0.0.26                                ...           10 months ago
  • 0.0.25                                ...           10 months ago
  • 0.0.24                                ...           10 months ago
  • 0.0.23                                ...           10 months ago
  • 0.0.22                                ...           10 months ago
  • 0.0.21                                ...           10 months ago
  • 0.0.20                                ...           10 months ago
  • 0.0.19                                ...           10 months ago
  • 0.0.18                                ...           10 months ago
  • 0.0.17                                ...           10 months ago
  • 0.0.16                                ...           10 months ago
  • 0.0.15                                ...           10 months ago
  • 0.0.14                                ...           10 months ago
  • 0.0.13                                ...           10 months ago
  • 0.0.12                                ...           10 months ago
  • 0.0.11                                ...           10 months ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |