Mercurial > zeropaste
view config/webpack/environment.js @ 472:b26dd8fa1c26 bootstrap-4
Update link to source
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 23 Feb 2020 22:42:15 +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