mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
85b0803653
* Rename .coffee files in ActionCable test suite in prep for decaffeination * Decaffeinate ActionCable tests * Replace Blade with Karma and Rollup to run ActionCable JS tests - Add karma and qunit devDependencies - Add test script to ActionCable package - Use rollup to bundle ActionCable tests - Use karma as the ActionCable JS test runner * Replace vendored mock-socket with package devDependency in ActionCable * Move ActionCable yarn install to TravisCI before_install config * Clean up decaffeinated ActionCable tests to use consistent formatting
18 lines
339 B
JavaScript
18 lines
339 B
JavaScript
import babel from "rollup-plugin-babel"
|
|
import commonjs from "rollup-plugin-commonjs"
|
|
import resolve from "rollup-plugin-node-resolve"
|
|
|
|
export default {
|
|
input: "test/javascript/src/test.js",
|
|
|
|
output: {
|
|
file: "test/javascript/compiled/test.js",
|
|
format: "iife"
|
|
},
|
|
|
|
plugins: [
|
|
resolve(),
|
|
commonjs(),
|
|
babel()
|
|
]
|
|
}
|