Hello.
I want to use the plugin to strip Facebook Flow types. I managed to do this for .jsx files. Can you give me example how to do this for .js files also? I see
on 67 line of SbtReactJs.scala.
I inspect includeFilter and see the following:
web-assets:reactjs::includeFilter
but how to set it from build.sbt ?
Best regards
Edit:
I managed to do this and will put the code here but this not solve the problem.
I will fork the plugin and will change apropriate jsx.js.
includeFilter in reactJs in Assets := new SimpleFilter(file => {
file.toString().endsWith(".jsx") || file.toString().endsWith(".js")
})
into build.sbt.
Hello.
I want to use the plugin to strip Facebook Flow types. I managed to do this for .jsx files. Can you give me example how to do this for .js files also? I see
on 67 line of SbtReactJs.scala.
I inspect includeFilter and see the following:
but how to set it from build.sbt ?
Best regards
Edit:
I managed to do this and will put the code here but this not solve the problem.
I will fork the plugin and will change apropriate jsx.js.
into build.sbt.