I write my own Symfony bundle.
I know that you can import assets from a bundle:
.addEntry('isotop', './vendor.../js/isotop.js')
But - this brings problems when you want to use tailwind-css. For Tailwind you have to configure the webpack.config.js:
.enablePostCssLoader((options) => {
options.config = {
// directory where the postcss.config.js file is stored
path: './postcss.config.js'
};
})
It would be nice when the bundle could create an Webpack Encore Configuration by itself. Is this possible somehow?