File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,6 @@ object ScalajsReact extends Build {
8080 jsDependencies += " org.webjars" % " react" % " 0.12.1" % scope / " react-with-addons.js" commonJSName " React" ,
8181 skip in packageJSDependencies := false )
8282
83-
84- def ghpagesExportJs : PE =
85- _.settings(
86- emitSourceMaps := false ,
87- artifactPath in (Compile , fullOptJS) := file(" gh-pages/res/ghpages.js" ))
88-
89-
9083 def addCommandAliases (m : (String , String )* ) = {
9184 val s = m.map(p => addCommandAlias(p._1, p._2)).reduce(_ ++ _)
9285 (_ : Project ).settings(s : _* )
@@ -134,6 +127,9 @@ object ScalajsReact extends Build {
134127 // ==============================================================================================
135128 lazy val ghpages = Project (" gh-pages" , file(" gh-pages" ))
136129 .dependsOn(core, scalaz71)
137- .configure(commonSettings, useReact(), ghpagesExportJs, preventPublication)
130+ .configure(commonSettings, useReact(), preventPublication)
131+ .settings(
132+ emitSourceMaps := false ,
133+ artifactPath in (Compile , fullOptJS) := file(" gh-pages/res/ghpages.js" ))
138134
139135}
You can’t perform that action at this time.
0 commit comments