fix: missing modernizr in webpack prod

This commit is contained in:
NGPixel 2020-07-03 20:24:44 -04:00
parent 52125eee73
commit c7631b30d7

View File

@ -179,6 +179,10 @@ module.exports = {
outputPath: 'fonts/'
}
}]
},
{
loader: 'webpack-modernizr-loader',
test: /\.modernizrrc\.js$/
}
]
},
@ -261,7 +265,8 @@ module.exports = {
// Duplicates fixes:
'apollo-link': path.join(process.cwd(), 'node_modules/apollo-link'),
'apollo-utilities': path.join(process.cwd(), 'node_modules/apollo-utilities'),
'uc.micro': path.join(process.cwd(), 'node_modules/uc.micro')
'uc.micro': path.join(process.cwd(), 'node_modules/uc.micro'),
'modernizr$': path.resolve(process.cwd(), 'client/.modernizrrc.js')
},
extensions: [
'.js',