Closed webdif closed 8 years ago
@webdif The plugin will not append to an existing js file (it doesn't try to, but it might overwrite your actual app.js). Usually you would want to create a modernizr.js that you can add to your
.Try changing to this and looking for js/modernizr.js
in your public dir.
plugins:
modernizr:
destination: 'js/modernizr.js'
tests: [
'csscalc'
'cssanimations'
'csstransforms3d'
]
If you still have problems could you provide some more information please? (node version, brunch version, OS, etc).
OK, I misunderstood. Thanks!
Great! There are two reasons it works like this:
Sorry to ask such a stupid question, but I was excited to see a brunch plugin for modernizr, and nothing happens when I try it :(
I add this config:
But nothing is added to my
app.js
. Am I doing something wrong? Thanks for your help.