Questions tagged [sbt-rjs]

An SBT plugin to perform RequireJs optimization.

An SBT plugin to perform RequireJs optimization.

Useful Links

5 questions
74
votes
1 answer

Optimizing JS from WebJars using sbt-rjs in a Play 2.3.x app

Is it possible to have a Play 2.3 app concat/optimize JS (using sbt-rjs) that's included in my app via WebJars? To give a concrete example: I'm trying to create a core.js module which contains all my 3rd party libraries concatenated and minified in…
Dylan Hughes
  • 741
  • 4
  • 3
2
votes
0 answers

Play Framework - issues with RequireJS optimizer

I have a PlayFramework 2.3 project and using require.js on the client side. When I run activator run everything works fine (so I'm sure the dependencies of require are ok). But when running activator start, some of the dependencies are missing. In…
1
vote
0 answers

Play 2.3.10 - sbt-rjs error for text.js: Cannot read property 'normalize' of undefined

Environment: Play 2.3.10; sbt 0.13.5; sbt-rjs 1.0.1 I have tried the suggested solutions to similar questions on play-framework Google group and StackOverflow, but have not been able to solve this issue so far. I have posted the same question on…
ybh6336
  • 61
  • 1
  • 3
0
votes
0 answers

Using minified files in play application

I am using sbt-rjs,sbt-digest and sbt-gzip plugins for minification of files in play 2.4 application.The plugin minifies the files and keeps them in target->web->rjs folder of the application. But when i run the application in production mode, it…
user189107
  • 177
  • 2
  • 11
0
votes
1 answer

Unable to get sbt-rjs plugin imported in play application

I wanted to concatenate JavaScript files in my java application which is built on play framework 2.5. In plugins.sbt, I have added the below code: addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.8") I also added: resolvers += Resolver.url("SBT…
user1184100
  • 6,322
  • 27
  • 74
  • 116