mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
4a23cb3415
* Output Action Cable JS without transpiling and as ESM
* Retain umd version under the old name, generate ESM version + duplicate under new name
* Precompile JavaScripts for direct asset pipeline use
* We've dropped support for IE11
* Include deprecation notice for the old file reference
Thanks @rafaelfranca 👍
* Allow app to opt out of precompiling actioncable js assets
cc @rafaelfranca
* Add changelog entries
16 lines
288 B
JavaScript
16 lines
288 B
JavaScript
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()
|
|
]
|
|
}
|