Inject normalize.css into browser by require("normalize.css.js"). This also returns the css code and safe to run on the server.
- No browserify transform needed.
- This works similar to insert-css.
- Always installs the latest normalize.css.
- Runs safely on both client and server
require("normalize.css.js");
On the browser it will inject the css into the <head>
You can also use this to get the css code of normalize.css
var normalize_css_code = require("normalize.css.js");
$ npm install --save normalize.css.js
MIT