mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
a2a28e6c90
The mirror setup isn't doing what we need to get a ESM-compatible version of Trix. So grab a build from Snowpack that's compatible for now.
14 lines
295 B
JavaScript
14 lines
295 B
JavaScript
import resolve from "@rollup/plugin-node-resolve"
|
|
import commonjs from "@rollup/plugin-commonjs"
|
|
|
|
export default {
|
|
input: "app/javascript/actiontext/index.js",
|
|
output: {
|
|
file: "app/assets/javascripts/actiontext.js",
|
|
format: "es"
|
|
},
|
|
plugins: [
|
|
resolve(),
|
|
commonjs()
|
|
]
|
|
}
|