Skip to content

Instantly share code, notes, and snippets.

@kreo
Forked from devpato/webpack.config.js
Created July 14, 2021 08:04
Show Gist options
  • Select an option

  • Save kreo/61e07110debf10d9fdcb12d4fc503539 to your computer and use it in GitHub Desktop.

Select an option

Save kreo/61e07110debf10d9fdcb12d4fc503539 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