Parcourir la source

webpack config

master
Guillaume il y a 3 ans
Parent
révision
93f8b7b5cc
1 fichiers modifiés avec 8 ajouts et 13 suppressions
  1. +8
    -13
      webpack.config.js

+ 8
- 13
webpack.config.js Voir le fichier

@@ -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')

Chargement…
Annuler
Enregistrer