Browse Source

fix: missing modernizr in webpack prod

pull/2143/head
NGPixel 4 years ago
parent
commit
c7631b30d7
1 changed files with 6 additions and 1 deletions
  1. 7
      dev/webpack/webpack.prod.js

7
dev/webpack/webpack.prod.js

@ -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',

Loading…
Cancel
Save