Using false value increase performance because we avoid parsing CSS Modules features, it will be useful for developers who use vanilla css or use other technologies. The modules option enables/disables the CSS Modules specification and setup basic behaviour. object - enable CSS modules for all files, if to option is not specified, otherwise the to option will determine whether if it is CSS modules or not, more information you can read here.string - disables CSS Modules for all files and set the mode option, more information you can read here.false - disables CSS Modules for all files.true - enable CSS modules for all files.undefined - enable CSS modules for all files matching /\.module\.\w+$/i.test(filename) and /\.icss\.\w+$/i.test(filename) regexp.Type importFn = | boolean | Īllows to enable/disable CSS Modules or ICSS and setup configuration:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |