2
require('-!some-loader!file.ext')
과 같은 일부 로더 쿼리를 보았지만 -!
에 대한 참조를 찾을 수 없었습니다. 또한 !!
으로 시작하는 몇 가지를 보았습니다. 그들이 의미하는 것은 무엇이며 어디에 문서화됩니까?무엇을 -! webpack 로더 문자열에 의미가 있습니까?
require('-!some-loader!file.ext')
과 같은 일부 로더 쿼리를 보았지만 -!
에 대한 참조를 찾을 수 없었습니다. 또한 !!
으로 시작하는 몇 가지를 보았습니다. 그들이 의미하는 것은 무엇이며 어디에 문서화됩니까?무엇을 -! webpack 로더 문자열에 의미가 있습니까?
특수한 경우에 맞게 기본 로더 순서 구성을 무시하는 데 사용됩니다. webpack v1 docs에서
:
- adding ! to a request will disable configured preLoaders require("!raw!./script.coffee") - adding !! to a request will disable all loaders specified in the configuration require("!!raw!./script.coffee") - adding -! to a request will disable configured preLoaders and loaders but not the postLoaders require("-!raw!./script.coffee")