mirror of
https://github.com/rottenwheel/moner.ooo.git
synced 2024-12-22 00:00:25 +00:00
build: fix webpack config for purgecss
This commit is contained in:
parent
72eb7bc3bc
commit
e79b7a8de5
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue