This is a  case where namespacing could help separating those constants in a logical way:

```javascript
loader.types = {
    JS: 'js',
    MULTI: 'multi',
    SCSS: 'scss',
    CSS: 'css',
    ...
};

loader.errors = {
    NOT_LOADED: '...',
    CORRUPT_FORMAT: '...'
};
```