Use single webpack and npm config

This commit is contained in:
Björn Fromme
2018-04-20 08:01:07 +02:00
parent d6ca53f531
commit 3153f78d96
14 changed files with 143 additions and 10444 deletions
File diff suppressed because it is too large Load Diff
-39
View File
@@ -1,39 +0,0 @@
{
"name": "epevents",
"description": "EP Reisen TYPO3 website package",
"version": "3.0.0",
"author": "Björn Fromme, [email protected]",
"license": "WTFPL",
"repository": "https://gitlab.com/dreipunktnull/ep_theme.git",
"scripts": {
"dev": "./node_modules/.bin/encore dev",
"build": "./node_modules/.bin/encore production"
},
"dependencies": {
"@fengyuanchen/datepicker": "^0.6.4",
"bourbon": "^4.3.2",
"cookieconsent": "^3.0.4",
"jquery": "^3.2.1",
"jquery-lazy": "^1.7.4",
"normalize.css": "^7.0.0",
"sass-mq": "^3.3.2",
"slick-carousel": "^1.8.0",
"sticky-js": "^1.2.0",
"vue": "^2.5.11",
"vue-session": "^0.9.10"
},
"devDependencies": {
"@symfony/webpack-encore": "^0.19.0",
"autoprefixer": "^8.2.0",
"node-sass": "^4.8.3",
"postcss-loader": "^2.1.3",
"sass-loader": "^6.0.7",
"vue-loader": "^14.2.2",
"vue-template-compiler": "^2.5.16",
"webpack-notifier": "^1.6.0"
},
"browserslist": [
"last 2 versions",
"ios >= 8"
]
}
@@ -1,6 +0,0 @@
module.exports = {
parser: false,
plugins: {
'autoprefixer': {},
}
};
@@ -1,21 +0,0 @@
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()
.enablePostCssLoader()
.configureFilenames({
js: 'js/[name].js',
css: 'css/[name].css',
images: 'images/[name].[ext]'
})
;
module.exports = Encore.getWebpackConfig();