talks/taking-flight-with-tailwind-css/code/5-webpack-config.txt
2021-02-11 17:56:17 +00:00

11 lines
259 B
Plaintext

let Encore = require('@symfony/webpack-encore')
Encore
.disableSingleRuntimeChunk()
.setOutputPath('dist/')
.setPublicPath('/dist')
.addStyleEntry('app', './src/css/tailwind.pcss')
.enablePostCssLoader()
module.exports = Encore.getWebpackConfig()