diff --git a/assets/admin/entry.js b/assets/admin/entrypoint.js similarity index 100% rename from assets/admin/entry.js rename to assets/admin/entrypoint.js diff --git a/assets/shop/entry.js b/assets/shop/entrypoint.js similarity index 100% rename from assets/shop/entry.js rename to assets/shop/entrypoint.js diff --git a/webpack.config.js b/webpack.config.js index 1e7f94c799..5bbadcb09c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,7 +14,7 @@ const shopConfig = SyliusShop.getWebpackConfig(path.resolve(__dirname)); Encore .setOutputPath('public/build/app/shop') .setPublicPath('/build/app/shop') - .addEntry('app-shop-entry', './assets/shop/entry.js') + .addEntry('app-shop-entry', './assets/shop/entrypoint.js') .disableSingleRuntimeChunk() .cleanupOutputBeforeBuild() .enableSourceMaps(!Encore.isProduction()) @@ -32,7 +32,7 @@ Encore.reset(); Encore .setOutputPath('public/build/app/admin') .setPublicPath('/build/app/admin') - .addEntry('app-admin-entry', './assets/admin/entry.js') + .addEntry('app-admin-entry', './assets/admin/entrypoint.js') .disableSingleRuntimeChunk() .cleanupOutputBeforeBuild() .enableSourceMaps(!Encore.isProduction())