Sha256: 73a3c600e3892e9fc18bdc3cec5c29ce9db5a51f93de3b9c36169a107274912b
Contents?: true
Size: 577 Bytes
Versions: 9
Compression:
Stored size: 577 Bytes
Contents
const { environment } = require('@rails/webpacker') const vue = require('./loaders/vue') const webpack = require('webpack'); // Get a pre-configured plugin const manifestPlugin = environment.plugins.get('Manifest') manifestPlugin.opts.writeToFileEmit = false // Add an additional plugin of your choosing : ProvidePlugin environment.plugins.prepend( 'Provide', new webpack.ProvidePlugin({ $: 'jquery/dist/jquery', jQuery: 'jquery/dist/jquery', Popper: 'popper.js/dist/popper' }) ); environment.loaders.append('vue', vue) module.exports = environment
Version data entries
9 entries across 9 versions & 1 rubygems