mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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()
|
||
|
]
|
||
|
}
|