ts-loader
Advanced tools
Comparing version 9.4.2 to 9.4.3
# Changelog | ||
## 9.4.3 | ||
* [Bug fix: add config file as build dependency](https://github.com/TypeStrong/ts-loader/pull/1611) - thanks @alexander-akait | ||
## 9.4.2 | ||
@@ -4,0 +7,0 @@ * [Bug fix: Use custom transformer when building solution references](https://github.com/TypeStrong/ts-loader/pull/1550) [#1025] - thanks @feosuna1 |
@@ -82,2 +82,5 @@ "use strict"; | ||
const { configFilePath, configFile } = configFileAndPath; | ||
if (configFilePath) { | ||
loader.addBuildDependency(configFilePath); | ||
} | ||
const filePathKeyMapper = createFilePathKeyMapper(compiler, loaderOptions); | ||
@@ -84,0 +87,0 @@ if (configFilePath && loaderOptions.projectReferences) { |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { Chalk } from 'chalk'; | ||
@@ -14,3 +13,3 @@ import * as webpack from 'webpack'; | ||
}, context: string): webpack.WebpackError[]; | ||
export declare function fsReadFile(fileName: string, encoding?: BufferEncoding | undefined): string | undefined; | ||
export declare function fsReadFile(fileName: string, encoding?: typescript.BufferEncoding | undefined): string | undefined; | ||
export declare function makeError(loaderOptions: LoaderOptions, message: string, file: string, location?: FileLocation, endLocation?: FileLocation): webpack.WebpackError; | ||
@@ -17,0 +16,0 @@ export declare function tsLoaderSource(loaderOptions: LoaderOptions): string; |
{ | ||
"name": "ts-loader", | ||
"version": "9.4.2", | ||
"version": "9.4.3", | ||
"description": "TypeScript loader for webpack", | ||
@@ -46,5 +46,5 @@ "main": "index.js", | ||
}, | ||
"author": "John Reilly <johnny_reilly@hotmail.com> (https://blog.johnnyreilly.com)", | ||
"author": "John Reilly <johnny_reilly@hotmail.com> (https://johnnyreilly.com)", | ||
"contributors": [ | ||
"John Reilly <johnny_reilly@hotmail.com> (https://blog.johnnyreilly.com)", | ||
"John Reilly <johnny_reilly@hotmail.com> (https://johnnyreilly.com)", | ||
"James Brantly <james@jbrantly.com> (http://www.jbrantly.com/)" | ||
@@ -67,4 +67,4 @@ ], | ||
"@types/semver": "^7.3.4", | ||
"@typescript-eslint/eslint-plugin": "^4.0.0", | ||
"@typescript-eslint/parser": "^4.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.0.0", | ||
"@typescript-eslint/parser": "^5.0.0", | ||
"babel": "^6.0.0", | ||
@@ -78,10 +78,10 @@ "babel-core": "^6.0.0", | ||
"escape-string-regexp": "^2.0.0", | ||
"eslint": "^7.1.0", | ||
"eslint": "^8.0.0", | ||
"eslint-config-prettier": "^8.0.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"fs-extra": "^9.0.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"fs-extra": "^11.0.0", | ||
"glob": "^7.1.1", | ||
"husky": "^2.0.0", | ||
"jasmine-core": "^3.0.0", | ||
"husky": "^8.0.0", | ||
"jasmine-core": "^4.0.0", | ||
"karma": "^6.0.0", | ||
@@ -91,3 +91,3 @@ "karma-chrome-launcher": "^3.1.0", | ||
"karma-mocha-reporter": "^2.0.0", | ||
"karma-sourcemap-loader": "^0.3.8", | ||
"karma-sourcemap-loader": "^0.4.0", | ||
"karma-webpack": "^5.0.0", | ||
@@ -100,3 +100,3 @@ "lint-staged": "^8.0.0", | ||
"rimraf": "^2.6.2", | ||
"typescript": "^4.9.3", | ||
"typescript": "^5.0.4", | ||
"webpack": "^5.74.0", | ||
@@ -103,0 +103,0 @@ "webpack-cli": "^4.10.0" |
@@ -5,3 +5,3 @@ # TypeScript loader for webpack | ||
[![build and test](https://github.com/TypeStrong/ts-loader/actions/workflows/push.yml/badge.svg)](https://github.com/TypeStrong/ts-loader/actions/workflows/push.yml) | ||
[![Downloads](http://img.shields.io/npm/dm/ts-loader.svg)](https://npmjs.org/package/ts-loader) | ||
[![Downloads](https://img.shields.io/npm/dm/ts-loader.svg)](https://npmjs.org/package/ts-loader) | ||
[![node version](https://img.shields.io/node/v/ts-loader.svg)](https://www.npmjs.com/package/ts-loader) | ||
@@ -234,3 +234,3 @@ [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) | ||
To output a built .d.ts file, you can use the [DeclarationBundlerPlugin](https://www.npmjs.com/package/declaration-bundler-webpack-plugin) in your webpack config. | ||
To output a built .d.ts file, you can use the [DeclarationBundlerPlugin](https://www.npmjs.com/package/types-webpack-bundler) in your webpack config. | ||
@@ -771,3 +771,3 @@ ### Failing the build on TypeScript compilation error | ||
`ts-loader` was started by [James Brantly](https://github.com/jbrantly), since 2016 [John Reilly](https://github.com/johnnyreilly) has been taking good care of it. If you're interested, you can [read more about how that came to pass](https://blog.johnnyreilly.com/2016/11/01/but-you-cant-die-i-love-you-ts-loader). | ||
`ts-loader` was started by [James Brantly](https://github.com/jbrantly), since 2016 [John Reilly](https://github.com/johnnyreilly) has been taking good care of it. If you're interested, you can [read more about how that came to pass](https://johnnyreilly.com/but-you-cant-die-i-love-you-ts-loader). | ||
@@ -774,0 +774,0 @@ ## License |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
254629
53
3102