Skip to content

Configure TailwindCSS in a Chrome Extension using Webpack #3139

Discussion options

You must be logged in to vote

Alright solved it by installing postcss-loader:

➜ npm install --save-dev postcss-loader postcss

Just had to add in webpack.config.js:

{
        test: /\.css$/,
        use: ['style-loader', 'css-loader', 'postcss-loader'],
        exclude: /\.module\.css$/,
},

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by deadcoder0904
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@deadcoder0904
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant