/bower_components
doesn’t work.
I get 404
error:
GET /bower_components/jquery/jquery.js 404
My configuration is as described in Bower documentation and here:
app.use(express.static(path.join(__dirname, 'public')));
app.use('/bower_components', express.static(__dirname + '/bower_components'));
In my .html file I have:
<script src="/bower_components/jquery/jquery.js"></script>
But there is no /bower_components/jquery/jquery.js
. There is \bower_components\jquery\dist\jquery.js
. Did they change the configuration of Bower packages but forgot to change docs?