Update casing in JS variables
This commit is contained in:
parent
b0f4439c29
commit
41ca11b514
|
@ -1,5 +1,5 @@
|
||||||
let Encore = require('@symfony/webpack-encore')
|
let Encore = require('@symfony/webpack-encore')
|
||||||
let PurgecssConfig = require('./purgecss.config')
|
let purgecssConfig = require('./purgecss.config')
|
||||||
let PurgecssPlugin = require('purgecss-webpack-plugin')
|
let PurgecssPlugin = require('purgecss-webpack-plugin')
|
||||||
|
|
||||||
Encore
|
Encore
|
||||||
|
@ -15,7 +15,7 @@ Encore
|
||||||
.enableSourceMaps(!Encore.isProduction())
|
.enableSourceMaps(!Encore.isProduction())
|
||||||
|
|
||||||
if (Encore.isProduction()) {
|
if (Encore.isProduction()) {
|
||||||
Encore.addPlugin(new PurgecssPlugin(PurgecssConfig))
|
Encore.addPlugin(new PurgecssPlugin(purgecssConfig))
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = Encore.getWebpackConfig()
|
module.exports = Encore.getWebpackConfig()
|
||||||
|
|
Reference in a new issue