Mercurial > zeropaste
view config/webpack/environment.js @ 479:b493db1f40b0
Validate format
author | nanaya <me@nanaya.pro> |
---|---|
date | Sat, 10 Oct 2020 18:16:12 +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