stonexx / sbt-play-webpack

sbt plugin for the webpack module bundler on playframework.

Version Matrix


This plugin has been deprecated. Use sbt-webpack instead.


An play sbt plugin for the webpack module bundler.

Add plugin

Add the plugin to project/plugins.sbt.

addSbtPlugin("com.github.stonexx.sbt" % "sbt-play-webpack" % "1.0.6")

Your project's build file also needs to enable play sbt plugins. For example with build.sbt:

lazy val root = ( file(".")).enablePlugins(PlayScala)

Add webpack as a devDependancy to your package.json file (located at the root of your project):

  "devDependencies": {
    "webpack": "^1.13.1"


PlayWebpackKeys.config in webpack := [location of config file]

(if not set, defaults to baseDirectory / "webpack.config.js")


sbt-play-webpack is licensed under the Apache License, Version 2.0