Skip to content
Snippets Groups Projects
Commit 6c4300be authored by ale's avatar ale
Browse files

Prevent PurgeCSS from dropping typeahead-related classes

parent 46868c0c
Branches
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ module.exports = { ...@@ -22,6 +22,7 @@ module.exports = {
new MiniCssExtractPlugin(), new MiniCssExtractPlugin(),
new PurgeCSSPlugin({ new PurgeCSSPlugin({
paths: glob.sync(__dirname + '/templates/*.tmpl'), paths: glob.sync(__dirname + '/templates/*.tmpl'),
safelist: [/show/, /^tt-/],
}), }),
], ],
module: { module: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment