mirror of https://github.com/rails/rails
19 lines
339 B
JavaScript
19 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()
|
|
]
|
|
}
|