Modernizr: Build modernizr with config.json don't work

I used your example https://modernizr.com/docs to build my modernizr.js.

After using the command modernizr -c modernizr-config.json, it will build modernizr.js. i implement the file in my header (or footer), it don’t work.

Here my config modernizr-config.txt (renamed from json to txt) and the builded modernizr.txt (renamed vorm .js to .txt)

In my _layout.chtml (asp core project wiht angular 2) the link <script type="text/javascript" src="~/vendor/modernizr/modernizr.js"></script> worked. i tryed with a example from your download-page.

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 20 (10 by maintainers)

Most upvoted comments

it don’t put the classes in the html tag.