Sha256: db7c9f86377918732f902791e8612988c322ebbdae1b9ce3348e136c89efb4da

Contents?: true

Size: 292 Bytes

Versions: 45

Compression:

Stored size: 292 Bytes

Contents

const { environment } = require('@rails/webpacker')

const webpack = require('webpack')
environment.plugins.prepend('Provide',
  new webpack.ProvidePlugin({
    $: 'jquery',
    jQuery: 'jquery',
    moment: 'moment',
    Popper: ['popper.js', 'default']
  })
)

module.exports = environment

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
cm-admin-0.9.1 config/webpack/environment.js
cm-admin-0.9.0 config/webpack/environment.js
cm-admin-0.8.9 config/webpack/environment.js
cm-admin-0.8.8 config/webpack/environment.js
cm-admin-0.8.7 config/webpack/environment.js
cm-admin-0.8.6 config/webpack/environment.js
cm-admin-0.8.5 config/webpack/environment.js
cm-admin-0.8.4 config/webpack/environment.js
cm-admin-0.8.3 config/webpack/environment.js
cm-admin-0.8.2 config/webpack/environment.js
cm-admin-0.8.1 config/webpack/environment.js
cm-admin-0.8.0 config/webpack/environment.js
cm-admin-0.7.8 config/webpack/environment.js
cm-admin-0.7.7 config/webpack/environment.js
cm-admin-0.7.6 config/webpack/environment.js
cm-admin-0.7.5 config/webpack/environment.js
cm-admin-0.7.4 config/webpack/environment.js
cm-admin-0.7.3 config/webpack/environment.js
cm-admin-0.7.2 config/webpack/environment.js
cm-admin-0.7.1 config/webpack/environment.js