File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
packages/unplugin-tailwindcss-mangle/src Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " unplugin-tailwindcss-mangle " : patch
3+ ---
4+
5+ fix: https://github.com/sonofmagic/tailwindcss-mangle/issues/141
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { isCSSRequest } from 'is-css-request'
77import path from 'pathe'
88import { pluginName } from '../constants'
99
10- const WEBPACK_LOADER = path . resolve ( __dirname , __DEV__ ? '../../dist/core/ loader.cjs' : 'core /loader.cjs' )
10+ const WEBPACK_LOADER = path . resolve ( __dirname , __DEV__ ? '../../dist/loader.cjs' : '. /loader.cjs' )
1111
1212const factory : UnpluginFactory < MangleUserConfig | undefined > = ( options ) => {
1313 const ctx = new Context ( )
Original file line number Diff line number Diff line change 1+ import type { Context } from '@tailwindcss-mangle/core'
12import type { LoaderContext } from 'webpack'
2- import { type Context , cssHandler } from '@tailwindcss-mangle/core'
3+ import { cssHandler } from '@tailwindcss-mangle/core'
34
45const TailwindcssMangleWebpackLoader = async function ( this : LoaderContext < { ctx : Context } > , source : string ) {
56 const callback = this . async ( )
You can’t perform that action at this time.
0 commit comments