mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-02-06 17:05:56 +05:30
Не подключаем vendor.dll для production билда
This commit is contained in:
parent
7374ac3564
commit
153fdacd7a
@ -120,7 +120,7 @@ const webpackConfig = {
|
|||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
template: 'src/index.ejs',
|
template: 'src/index.ejs',
|
||||||
favicon: 'src/favicon.ico',
|
favicon: 'src/favicon.ico',
|
||||||
scripts: ['dll/vendor.dll.js'],
|
scripts: isProduction ? [] : ['dll/vendor.dll.js'],
|
||||||
hash: false, // webpack does this for all our assets automagically
|
hash: false, // webpack does this for all our assets automagically
|
||||||
filename: 'index.html',
|
filename: 'index.html',
|
||||||
inject: false,
|
inject: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user