mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Webpack: Make Resolve.alias optional
The alias property on the Resolve interface was incorrectly declared as required. This commit makes it optional. Files changed: - webpack/webpack.d.ts: Set Resolve.alias to optional - webpack/webpack-tests.ts: Add new test which would have failed but now passes Documentation: https://webpack.github.io/docs/configuration.html#resolve-alias
This commit is contained in:
@@ -247,6 +247,12 @@ configuration = {
|
||||
devtool: "#inline-source-map"
|
||||
};
|
||||
|
||||
configuration = {
|
||||
resolve: {
|
||||
root: __dirname
|
||||
}
|
||||
};
|
||||
|
||||
loader = {
|
||||
test: /\.jsx$/,
|
||||
include: [
|
||||
|
||||
Reference in New Issue
Block a user