15

I was wondering how to use CommonJS modules with Play Framework 2.3+ ?

I suppose a Browserify plugin can be written in a way similar to sbt-less plugin, but before starting this I want to know how other people are handling this.

Is there already a way for using Browserify within play framework build process ?

sarveshseri
  • 10,459
  • 25
  • 43
  • Hi,I'm looking for the same thing, did you find anything in your search. – Yahya KACEM Dec 22 '14 at 17:31
  • I did not find anything, but I have a barely working sketch... I am considering converting it to a plug-in when I have some free time. – sarveshseri Feb 28 '15 at 08:32
  • 2
    thanks for replaying, I took a different approach I'm trying to separate back-end from front-end now since no need for them to be as the same application, I found it better if they are 2 separate applications, and since the back-end is already a web service API, that's better, reducing the conflicts between the 2 environments, thanks anyway. – Yahya KACEM Feb 28 '15 at 10:43

1 Answers1

3

Perhaps somehting like : https://github.com/sbt/sbt-js-engine or https://github.com/guardian/sbt-grunt-plugin

I'm interrested too, actually I use grunt on a second shell.

heralight
  • 622
  • 1
  • 5
  • 11