Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:privatenumber/esbuild-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed May 15, 2022
2 parents aa92326 + 077efbd commit 680917c
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 38 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ jobs:
- name: Install dependencies
run: npx ci
- name: Test
run: npm run test --if-present
- name: Build
run: npm run build --if-present
run: npm run test
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"pretest": "npm run build",
"test": "jest --coverage",
"lint": "eslint ."
},
Expand Down Expand Up @@ -59,7 +60,7 @@
"lint-staged": "^12.1.2",
"memfs": "^3.4.0",
"mini-css-extract-plugin": "^1.4.0",
"typescript": "^4.5.4",
"typescript": "^4.6.4",
"unionfs": "^4.4.0",
"webpack": "^4.44.2",
"webpack-test-utils": "^1.1.0",
Expand Down
60 changes: 30 additions & 30 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/loader.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import webpack4 from 'webpack';
import webpack5 from 'webpack5';
import { build } from 'webpack-test-utils';
import { MinifyPluginOptions } from '../src/interfaces';
import { MinifyPluginOptions } from '../dist/interfaces';
import * as fixtures from './fixtures';
import { configureEsbuildLoader } from './utils';

Expand Down
4 changes: 2 additions & 2 deletions test/minify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import MiniCssExtractPlugin from 'mini-css-extract-plugin';
import { RawSource } from 'webpack-sources';
import * as esbuild from 'esbuild';
import { build } from 'webpack-test-utils';
import { MinifyPluginOptions } from '../src/interfaces';
import { ESBuildMinifyPlugin } from '../src/index';
import { MinifyPluginOptions } from '../dist/interfaces';
import { ESBuildMinifyPlugin } from '../dist/index';
// import { build, getFile } from './utils';
import * as fixtures from './fixtures';
import { configureEsbuildLoader } from './utils';
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"declaration": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"esModuleInterop": true
"esModuleInterop": true,
"skipLibCheck": true
},
"include": ["src"]
}

0 comments on commit 680917c

Please sign in to comment.