view config/webpack/environment.js @ 471:c8e2f6b22527 bootstrap-4

Fix radio button alignment
author nanaya <me@nanaya.pro>
date Sun, 23 Feb 2020 22:35:44 +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