fix: missing modernizr in webpack prod
This commit is contained in:
parent
52125eee73
commit
c7631b30d7
@ -179,6 +179,10 @@ module.exports = {
|
|||||||
outputPath: 'fonts/'
|
outputPath: 'fonts/'
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
loader: 'webpack-modernizr-loader',
|
||||||
|
test: /\.modernizrrc\.js$/
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user