what's mean “!” in require.js

前端 未结 2 1391
南方客
南方客 2021-01-15 00:26

What\'s mean \"!\" in require.js when I included module ? What\'s syntax ? I what includ dinamic stylesheet in my project and I found https://github.com/martinsb/require-cs

2条回答
  •  有刺的猬
    2021-01-15 00:59

    ! means that css plugin will be used to parse sample.css.

    Syntax is !.

    css.js file contains css plugin's code.

    css/sample.css is file, that should be loaded using that plugin.

    See https://github.com/millermedeiros/requirejs-plugins

提交回复
热议问题