Sha256: 463c4b49c850d5dd4728fa41a478e69467167e133f5c2e038d746bbbb5834572
Contents?: true
Size: 609 Bytes
Versions: 5
Compression:
Stored size: 609 Bytes
Contents
const { environment } = require('@rails/webpacker') const coffee = require('./loaders/coffee') const webpack = require('webpack') environment.plugins.prepend('Provide', new webpack.ProvidePlugin({ $: require.resolve('jquery'), jQuery: require.resolve('jquery'), Popper: ['popper.js', 'default'] }) ) const { add_paths_to_environment } = require( // `${environment.plugins.get('Environment').defaultValues["PWD"]}/config/environments/_add_gem_paths` `/tmp/_add_gem_paths` ) add_paths_to_environment(environment) environment.loaders.prepend('coffee', coffee) module.exports = environment
Version data entries
5 entries across 5 versions & 1 rubygems