Mercurial > zeropaste
view config/webpack/environment.js @ 484:84ca55a0568e
Fix pasting base64 gzip and fix tests
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 28 Nov 2021 20:01:18 +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