Commit c7631b30 authored by NGPixel's avatar NGPixel

fix: missing modernizr in webpack prod

parent 52125eee
...@@ -179,6 +179,10 @@ module.exports = { ...@@ -179,6 +179,10 @@ module.exports = {
outputPath: 'fonts/' outputPath: 'fonts/'
} }
}] }]
},
{
loader: 'webpack-modernizr-loader',
test: /\.modernizrrc\.js$/
} }
] ]
}, },
...@@ -261,7 +265,8 @@ module.exports = { ...@@ -261,7 +265,8 @@ module.exports = {
// Duplicates fixes: // Duplicates fixes:
'apollo-link': path.join(process.cwd(), 'node_modules/apollo-link'), 'apollo-link': path.join(process.cwd(), 'node_modules/apollo-link'),
'apollo-utilities': path.join(process.cwd(), 'node_modules/apollo-utilities'), '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: [ extensions: [
'.js', '.js',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment