Are less files loaded automatically?

In the example todos app:

The not found page is made up of 3 files:
app-not-found.html
app-not-found.js
app-not-found.less

the app-not-found.js javascript file only includes the html
import ‘./app-not-found.html’;

should it include the less file too ?

It is already being imported from /client/main.less :

1 Like

When importing CSS from a JavaScript file, that CSS is not bundled with the rest of the CSS processed with the Meteor Build tool, but instead is put in your app’s tag inside … after the main concatenated CSS file.

The todos app includes all the less files in the main.less file to generate a single bundle and do not include css in the head tag.
I think it is a better approach.