Why does meteor build files which are not linked anywhere?


#1

Say I have a completely generic structure like this.

imports/
├── api/
│   └── index.js
├── ui/
│   ├── notImported.js
│   ├── index.js
│   └── index.scss
└── index.js

Then I import the index.js on both the client and the server.

However, the file called notImported is never imported anywhere. However, whenever I change it, it triggers a rebuild.

Shouldn’t non-imported files be ignored by the build tool?