Mercurial > zeropaste
comparison config/webpack/environment.js @ 473:8a90106a7be2
Seems working
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 23 Feb 2020 22:49:49 +0900 |
parents | 68231013b01b |
children |
comparison
equal
deleted
inserted
replaced
468:802dcd44188e | 473:8a90106a7be2 |
---|---|
3 | 3 |
4 const webpack = require('webpack') | 4 const webpack = require('webpack') |
5 environment.plugins.append('Provide', | 5 environment.plugins.append('Provide', |
6 new webpack.ProvidePlugin({ | 6 new webpack.ProvidePlugin({ |
7 $: 'jquery', | 7 $: 'jquery', |
8 jQuery: 'jquery', | |
9 Popper: ['popper.js', 'default'] | |
10 }) | 8 }) |
11 ) | 9 ) |
12 | 10 |
13 environment.loaders.prepend('coffee', coffee) | 11 environment.loaders.prepend('coffee', coffee) |
14 module.exports = environment | 12 module.exports = environment |