deployment-tools
Version:
A Node.js scripts that helps you to compile and deploy the static assets (CSS/JavaScript/images) of your website without gulp and grunt using Node.js and npm scripts
16 lines (14 loc) • 335 B
JavaScript
const modernizrconfig = {
filename: process.env.NODE_ENV === 'production' ? 'modernizr.[hash].js' : 'modernizr-bundle.js',
'feature-detects': [
'touchevents',
'history',
],
options: [
'html5shiv',
'teststyles',
'prefixes',
'setClasses', // to remove no-js class
],
};
module.exports = modernizrconfig;