presentations/Taking Flight with Tailwind CSS/code/5-webpack-config.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
259 B
Text
Raw Normal View History

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