• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

react-webpack-generators / generator-react-webpack / 352 / 1
74%
master: 74%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2016 11:03AM UTC
Files 11
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Nov 2016 11:01AM UTC coverage: 96.078% (+0.06%) from 96.016%
352.1

Pull #310

travis-ci

web-flow
Added support for configuring a className prefix

This feature allows users to put a `cssClsPrefix` property into their
.yo-rc.json. If configured, the component generator will add this string
as a prefix to className attributes.

Example:

	// .yo-rc.json
	{
	  "generator-react-webpack": {
	    "appName": "v4-latest-install",
	    "style": "css",
	    "cssmodules": false,
	    "cssClsPrefix": "myapp",
	    "postcss": false,
	    "generatedWithVersion": 4
	  }
	}

Components generated will now prepend the `myapp` prefix on their class
names, e.g.

	$ yo react-webpack:component hello
	<div className="myapp-hello-component" />
Pull Request #310: Added support for configuring a className prefix

245 of 255 relevant lines covered (96.08%)

228.48 hits per line

Source Files on job 352.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 352
  • Travis Job 352.1
  • 1a2792bb on github
  • Prev Job for on master (#347.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc