Skip to content

Commit

Permalink
style: lintfix
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Jan 13, 2023
1 parent 47960f7 commit 65a7448
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "tsx tests",
"dev": "tsx watch --conditions=development tests",
"lint": "eslint --cache ."
},
"imports": {
"#esbuild-loader": {
"types": "./src/index.ts",
"development": "./src/index.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsc",
"test": "tsx tests",
"dev": "tsx watch --conditions=development tests",
"lint": "eslint --cache ."
},
"peerDependencies": {
"webpack": "^4.40.0 || ^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/specs/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { testSuite, expect } from 'manten';
import { build } from 'webpack-test-utils';
import webpack4 from 'webpack';
import webpack5 from 'webpack5';
import type { MinifyPluginOptions } from '#esbuild-loader';
import {
configureEsbuildLoader,
configureCssLoader,
} from '../utils';
import * as fixtures from '../fixtures.js';
import type { MinifyPluginOptions } from '#esbuild-loader';

const { exportFile } = fixtures;

Expand Down
2 changes: 1 addition & 1 deletion tests/specs/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { build } from 'webpack-test-utils';
import webpack4 from 'webpack';
import webpack5 from 'webpack5';
import * as esbuild from 'esbuild';
import type { MinifyPluginOptions } from '#esbuild-loader';
import {
configureEsbuildMinifyPlugin,
configureMiniCssExtractPlugin,
} from '../utils';
import * as fixtures from '../fixtures.js';
import type { MinifyPluginOptions } from '#esbuild-loader';

const assertMinified = (code: string) => {
expect(code).not.toMatch(/\s{2,}/);
Expand Down

0 comments on commit 65a7448

Please sign in to comment.