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

react-webpack-generators / generator-react-webpack / 353 / 2
96%
master: 74%

Build:
Build:
LAST BUILD BRANCH: v3.3.1
DEFAULT BRANCH: master
Ran 23 Nov 2016 11:05AM 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:03AM UTC coverage: 96.078%. Remained the same
353.2

push

travis-ci

sthzg
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" />

245 of 255 relevant lines covered (96.08%)

228.45 hits per line

Source Files on job 353.2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 353
  • Travis Job 353.2
  • 261c6e6f on github
  • Prev Job for on feature/config_clsname_prefix (#351.2)
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