Skip to content

A sbt plugin for running the rollup javascript module bundler

License

Notifications You must be signed in to change notification settings

SwanAudio/sbt-rollup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-rollup

Build Status Codacy Badge

This plugin provides support for running rollup in a sbt-web workflow.

Quickstart

Enable the plugin in your plugins.sbt file:

addSbtPlugin("com.swanaudio.sbt" % "sbt-rollup" % "1.0.0")

Define the entry point of your javascript module in your projects build.sbt:

entry in rollup := (sourceDirectory in Assets).value / "javascripts" / "main.js"

Add a base rollup.config.js to the project root:

export default {
  format: 'umd',
  plugins: [ ]
};

Settings

Option Description
entry Entry point for application bundle.
output Filename for the output file.
config Location of the rollup configuration file.

About

A sbt plugin for running the rollup javascript module bundler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published