Mercurial > zeropaste
view config/webpack/environment.js @ 487:5246edd5b8ad
Update gems and remove jruby support
author | nanaya <me@nanaya.net> |
---|---|
date | Tue, 17 Jan 2023 01:42:57 +0900 |
parents | 68231013b01b |
children |
line wrap: on
line source
const { environment } = require('@rails/webpacker') const coffee = require('./loaders/coffee') const webpack = require('webpack') environment.plugins.append('Provide', new webpack.ProvidePlugin({ $: 'jquery', }) ) environment.loaders.prepend('coffee', coffee) module.exports = environment