Initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
const Encore = require('@symfony/webpack-encore');
|
||||
|
||||
Encore
|
||||
.setOutputPath('./Resources/Public/')
|
||||
.setPublicPath('/typo3conf/ext/ep_events/Resources/Public/')
|
||||
.addEntry('main', './Resources/Private/Assets/js/main.js')
|
||||
.addStyleEntry('rte', './Resources/Private/Assets/css/rte.css')
|
||||
.enableSassLoader()
|
||||
.enableVueLoader()
|
||||
.autoProvidejQuery()
|
||||
.enableSourceMaps(!Encore.isProduction())
|
||||
.cleanupOutputBeforeBuild()
|
||||
.enableBuildNotifications()
|
||||
.enablePostCssLoader()
|
||||
.configureFilenames({
|
||||
js: 'js/[name].js',
|
||||
css: 'css/[name].css',
|
||||
images: 'images/[name].[ext]'
|
||||
})
|
||||
;
|
||||
|
||||
module.exports = Encore.getWebpackConfig();
|
||||
Reference in New Issue
Block a user