Przeglądaj źródła

webpack config

master
Guillaume 3 lat temu
rodzic
commit
93f8b7b5cc
1 zmienionych plików z 8 dodań i 13 usunięć
  1. +8
    -13
      webpack.config.js

+ 8
- 13
webpack.config.js Wyświetl plik

@@ -17,13 +17,13 @@ Encore
//.setManifestKeyPrefix('build/')
.enableSassLoader()
.addAliases({
'core-js': path.resolve(__dirname, './node_modules/core-js'),
'core-js': path.join(__dirname, 'node_modules/core-js'),
'jquery': path.join(__dirname, 'node_modules/jquery/src/jquery'),
'jquery-ui': path.join(__dirname, 'node_modules/jquery-ui-dist/jquery-ui'),
'adminlte-js': path.resolve(__dirname, 'node_modules/admin-lte/dist/js/adminlte.min.js'),
'adminlte-css': path.resolve(__dirname, 'node_modules/admin-lte/build/scss/adminlte.scss'),
'fontawesome-css': path.resolve(__dirname, 'node_modules/admin-lte/plugins/fontawesome-free/css/all.css'),
'adminlte-plugin': path.resolve(__dirname, './node_modules/admin-lte/plugins/'),
'adminlte-js': path.join(__dirname, 'node_modules/admin-lte/dist/js/adminlte.min.js'),
'adminlte-css': path.join(__dirname, 'node_modules/admin-lte/build/scss/adminlte.scss'),
'fontawesome-css': path.join(__dirname, 'node_modules/admin-lte/plugins/fontawesome-free/css/all.css'),
'adminlte-plugin': path.join(__dirname, 'node_modules/admin-lte/plugins/'),

/*'adminlte': path.resolve(__dirname, './node_modules/admin-lte/dist/js/adminlte.min.js'),
'adminltePlugin': path.resolve(__dirname, './node_modules/admin-lte/plugins/'),
@@ -41,14 +41,9 @@ Encore
* Each entry will result in one JavaScript file (e.g. app.js)
* 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('backend-common', './Lc/SovBundle/Resources/assets/apps/backend-common/app.common.js')
.addEntry('form', './Lc/SovBundle/Resources/assets/apps/form/app.form.js')
.addEntry('field-filemanager', './Lc/SovBundle/Resources/assets/fields/filemanager/app.field-filemanager.js')
.addEntry('field-collection', './Lc/SovBundle/Resources/assets/fields/collection/app.field-collection.js')
//.addEntry('tabler', './Lc/SovBundle/Resources/assets/apps/tabler/app.tabler.js')
//.addEntry('easyadmin', './vendor/easycorp/easyadmin-bundle/assets/js/app.js')
.addEntry('adminlte-common', './Lc/SovBundle/Resources/assets/app/adminlte/common/app.common.js')
.addEntry('adminlte-field-filemanager', './Lc/SovBundle/Resources/assets/app/adminlte/field/filemanager/app.filemanager.js')
.addEntry('adminlte-field-collection', './Lc/SovBundle/Resources/assets/app/adminlte/field/collection/app.collection.js')

// enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js)
.enableStimulusBridge('./assets/controllers.json')

Ładowanie…
Anuluj
Zapisz