Last active
January 9, 2022 20:01
-
-
Save EndangeredMassa/87209850b2506ec021866e39bcd028d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const IS_DEV = process.env.NODE_ENV === 'development'; | |
let environmentSafelist = []; | |
if (IS_DEV) { | |
environmentSafelist.push({ | |
pattern: /.+/, // allow everything | |
}); | |
} | |
module.exports = { | |
content: [ | |
"./index.html", | |
"./app/**/*.{hbs,js,html}" | |
], | |
safelist: [ | |
'active', | |
...environmentSafelist | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is this https://github.com/garris/BackstopJS