cj/opal-webpack

View on GitHub
examples/simple/webpack.config.js

Summary

Maintainability
A
0 mins
Test Coverage
var path = require("path")

module.exports = {
  entry: './hello.rb',
  output: {
    filename: 'bundle.js'       
  },
  module: {
    loaders: [
      { 
        test: /\.rb$/, 
        loader: "opal-webpack",
      }
    ]
  },
  devtool: 'sourcemap',
};