Skip to content

Instantly share code, notes, and snippets.

@devpato
Created February 11, 2021 06:28
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save devpato/0c39042d10993e24c64540696a19bad6 to your computer and use it in GitHub Desktop.
Save devpato/0c39042d10993e24c64540696a19bad6 to your computer and use it in GitHub Desktop.
webpack.config.js
const { addTailwindPlugin } = require("@ngneat/tailwind");
const tailwindConfig = require("./tailwind.config.js");
module.exports = (config) => {
addTailwindPlugin({
webpackConfig: config,
tailwindConfig,
patchComponentsStyles: true
});
return config;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment