You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
includeFilter := "*.jsx"
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.
The text was updated successfully, but these errors were encountered:
gonaumov
changed the title
ReactJsKeys.stripTypes dont do anything.
Strip Facebook flow types
Jun 14, 2016
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.
The text was updated successfully, but these errors were encountered: