classnames-minifier 0.1.1 → 0.1.2-canary.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,10 @@
1
+ import type { LoaderContext } from 'webpack';
1
2
  import type { Config } from './lib/types/plugin';
2
3
  import ConverterMinified from './lib/ConverterMinified';
3
4
  declare class ClassnamesMinifier {
4
5
  converterMinified: ConverterMinified;
5
6
  constructor(config: Config);
6
- get getLocalIdent(): ({ resourcePath }: import("webpack").LoaderContext<any>, _localIdent: string, origName: string) => string;
7
+ get getLocalIdent(): ({ resourcePath }: LoaderContext<any>, _localIdent: string, origName: string) => string;
7
8
  get preLoader(): {
8
9
  loader: string;
9
10
  options: {
@@ -1,4 +1,4 @@
1
- import type { LoaderContext } from 'webpack/types';
1
+ import type { LoaderContext } from 'webpack';
2
2
  import type { Config } from './types/plugin';
3
3
  type CacheType = {
4
4
  [resourcePath: string]: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classnames-minifier",
3
- "version": "0.1.1",
3
+ "version": "0.1.2-canary.1",
4
4
  "description": "Library for configuring style modules to generate compressed classes",
5
5
  "main": "./dist/ClassnamesMinifier.js",
6
6
  "types": "./dist/ClassnamesMinifier.d.ts",