|
|
@@ -17,7 +17,13 @@ Encore |
|
|
|
//.setManifestKeyPrefix('build/') |
|
|
|
.enableSassLoader() |
|
|
|
.addAliases({ |
|
|
|
'core-js': path.resolve(__dirname, './node_modules/core-js') |
|
|
|
'adminlte': path.resolve(__dirname, './node_modules/admin-lte/dist/js/adminlte.min.js'), |
|
|
|
'adminltePlugin': path.resolve(__dirname, './node_modules/admin-lte/plugins/'), |
|
|
|
'core-js': path.resolve(__dirname, './node_modules/core-js'), |
|
|
|
'jquery': path.join(__dirname, 'node_modules/jquery/src/jquery'), |
|
|
|
'select2': path.join(__dirname, 'node_modules/select2/dist/js/select2.js'), |
|
|
|
'select2-css': path.join(__dirname, 'node_modules/select2/dist/css/select2.min.css'), |
|
|
|
//'select2-bootstrap-theme': path.join(__dirname, 'node_modules/select2-bootstrap-5-theme/dist/select2-bootstrap-5-theme.min.css') |
|
|
|
}) |
|
|
|
|
|
|
|
/* |
|
|
@@ -27,6 +33,8 @@ Encore |
|
|
|
* and one CSS file (e.g. app.css) if your JavaScript imports CSS. |
|
|
|
*/ |
|
|
|
//.addEntry('backend-common', './assets/apps/backend/common/app.common.js') |
|
|
|
//.addEntry('jquery', './node_modules/jquery/dist/jquery.slim.js') |
|
|
|
.addEntry('common', './Lc/SovBundle/Resources/assets/apps/common/app.common.js') |
|
|
|
.addEntry('tabler', './Lc/SovBundle/Resources/assets/apps/tabler/app.tabler.js') |
|
|
|
//.addEntry('easyadmin', './vendor/easycorp/easyadmin-bundle/assets/js/app.js') |
|
|
|
|
|
|
@@ -63,21 +71,21 @@ Encore |
|
|
|
config.corejs = 3; |
|
|
|
}) |
|
|
|
|
|
|
|
// enables Sass/SCSS support |
|
|
|
//.enableSassLoader() |
|
|
|
// enables Sass/SCSS support |
|
|
|
//.enableSassLoader() |
|
|
|
|
|
|
|
// uncomment if you use TypeScript |
|
|
|
//.enableTypeScriptLoader() |
|
|
|
// uncomment if you use TypeScript |
|
|
|
//.enableTypeScriptLoader() |
|
|
|
|
|
|
|
// uncomment if you use React |
|
|
|
//.enableReactPreset() |
|
|
|
// uncomment if you use React |
|
|
|
//.enableReactPreset() |
|
|
|
|
|
|
|
// uncomment to get integrity="..." attributes on your script & link tags |
|
|
|
// requires WebpackEncoreBundle 1.4 or higher |
|
|
|
//.enableIntegrityHashes(Encore.isProduction()) |
|
|
|
// uncomment to get integrity="..." attributes on your script & link tags |
|
|
|
// requires WebpackEncoreBundle 1.4 or higher |
|
|
|
//.enableIntegrityHashes(Encore.isProduction()) |
|
|
|
|
|
|
|
// uncomment if you're having problems with a jQuery plugin |
|
|
|
//.autoProvidejQuery() |
|
|
|
// uncomment if you're having problems with a jQuery plugin |
|
|
|
//.autoProvidejQuery() |
|
|
|
; |
|
|
|
|
|
|
|
module.exports = Encore.getWebpackConfig(); |