mirror of
https://github.com/rottenwheel/moner.ooo.git
synced 2024-11-12 22:23:50 +01:00
build: fix webpack config for purgecss
This commit is contained in:
parent
72eb7bc3bc
commit
e79b7a8de5
@ -29,7 +29,9 @@ module.exports = {
|
||||
}),
|
||||
new PurgeCSSPlugin({
|
||||
paths: glob.sync([
|
||||
path.join(__dirname, 'index.php')
|
||||
path.join(__dirname, 'index.php'),
|
||||
path.join(__dirname, 'src/js/*.js'),
|
||||
path.join(__dirname, 'templates/*.php'),
|
||||
]),
|
||||
safelist: ['tooltip', 'fade', 'show', 'bs-tooltip-top', 'tooltip-inner', 'tooltip-arrow', 'btn-equals', 'btn-arrow', 'alert', 'alert-warning']
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user