0.1.6 • Published 2 years ago

@sprit/tailwindcss-webpack-plugin v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Introduction

By compiling the tailwind CSS, generating the style and inserting the body independently, you can solve the problem of style overwriting(other library of UI component, like antd & etc.)

Usage

// esm
import { TailwindCssWebpackPlugin } from '@sprit/tailwindcss-webpack-plugin';
// cjs
const { TailwindCssWebpackPlugin } = require('@sprit/tailwindcss-webpack-plugin');

// webpack plugins
{
  plugins: [
    new TailwindCssWebpackPlugin()
  ]
}

Effect

Insert the generated compressed file into the body tag

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago