8000 GitHub - mrdziuban/scalajs-loader: Scala.js webpack loader
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mrdziuban/scalajs-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scala.js Webpack loader

npm

Usage

This is a simple Webpack loader that shells out to SBT to build a Scala.js project.

To use it, first install the package:

$ npm install --save scalajs-loader

then configure the loader in your Webpack config:

module.exports = {
  // ...
  module: {
    rules: [
      { test: /\.scala$/, loader: 'scalajs-loader' },
      // ...
    ]
  }
}

Make sure you have the sbt binary somewhere in your PATH.

Example

Check out the example directory for a simple Hello World example.

About

Scala.js webpack loader

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0