【发布时间】:2018-07-13 02:44:31
【问题描述】:
我将sass-variable-loader 与 webpack 一起使用,由于扩展 webpack 配置的限制,我只想以这种方式内联使用它:
import variables from '!!sass-variable-loader!../../../src/styles/variables.scss'
这按预期工作,但是当我尝试运行流程时,它退出并出现以下错误:
import variables from '!!sass-variable-loader!../../../src/styles/variables.scss'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ !!sass-variable-loader!../../../src/styles/variables.scss. Required module not found
有没有办法让 Flow 在这条线上不失败?
【问题讨论】:
标签: javascript webpack flowtype