Simplify postcss config
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
plugins: [
|
|
||||||
require('tailwindcss'),
|
|
||||||
require('autoprefixer'),
|
|
||||||
]
|
|
||||||
};
|
|
||||||
+15
-2
@@ -21,7 +21,14 @@ Encore
|
|||||||
.enableVersioning(Encore.isProduction())
|
.enableVersioning(Encore.isProduction())
|
||||||
.enableSourceMaps(!Encore.isProduction())
|
.enableSourceMaps(!Encore.isProduction())
|
||||||
.cleanupOutputBeforeBuild()
|
.cleanupOutputBeforeBuild()
|
||||||
.enablePostCssLoader()
|
.enablePostCssLoader(options => {
|
||||||
|
options.postcssOptions = {
|
||||||
|
plugins: [
|
||||||
|
require('tailwindcss'),
|
||||||
|
require('autoprefixer'),
|
||||||
|
],
|
||||||
|
}
|
||||||
|
})
|
||||||
.copyFiles([
|
.copyFiles([
|
||||||
{ from: './public/typo3conf/ext/ep_theme/Resources/Private/Assets/images', to: 'images/[name].[ext]' },
|
{ from: './public/typo3conf/ext/ep_theme/Resources/Private/Assets/images', to: 'images/[name].[ext]' },
|
||||||
{ from: './public/typo3conf/ext/ep_theme/Resources/Private/Assets/images/icons', to: 'images/icons/[name].[ext]' },
|
{ from: './public/typo3conf/ext/ep_theme/Resources/Private/Assets/images/icons', to: 'images/icons/[name].[ext]' },
|
||||||
@@ -70,7 +77,13 @@ Encore
|
|||||||
.autoProvidejQuery()
|
.autoProvidejQuery()
|
||||||
.enableSourceMaps(!Encore.isProduction())
|
.enableSourceMaps(!Encore.isProduction())
|
||||||
.cleanupOutputBeforeBuild()
|
.cleanupOutputBeforeBuild()
|
||||||
.enablePostCssLoader()
|
.enablePostCssLoader(options => {
|
||||||
|
options.postcssOptions = {
|
||||||
|
plugins: [
|
||||||
|
require('autoprefixer'),
|
||||||
|
],
|
||||||
|
}
|
||||||
|
})
|
||||||
.configureFilenames({
|
.configureFilenames({
|
||||||
js: 'js/[name].js',
|
js: 'js/[name].js',
|
||||||
css: 'css/[name].css',
|
css: 'css/[name].css',
|
||||||
|
|||||||
Reference in New Issue
Block a user