@nuxt/types
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.4.1](https://github.com/nuxt/typescript/compare/@nuxt/types@0.4.0...@nuxt/types@0.4.1) (2019-12-01) | ||
### Bug Fixes | ||
* **types:** add correct url-loader options ([#220](https://github.com/nuxt/typescript/issues/220)) ([01084f1](https://github.com/nuxt/typescript/commit/01084f180570f703b6d5583e45d3de4d7fc14dc3)), closes [#221](https://github.com/nuxt/typescript/issues/221) | ||
# [0.4.0](https://github.com/nuxt/typescript/compare/@nuxt/types@0.3.4...@nuxt/types@0.4.0) (2019-11-30) | ||
@@ -8,0 +19,0 @@ |
@@ -8,2 +8,3 @@ /** | ||
Configuration as WebpackConfiguration, | ||
Loader as WebpackLoader, | ||
Options as WebpackOptions, | ||
@@ -25,8 +26,2 @@ Plugin as WebpackPlugin | ||
interface FileLoaderOptions { | ||
fallback?: string | ||
limit?: number | boolean | string | ||
mimetype?: string | ||
} | ||
type CssLoaderUrlFunction = (url: string, resourcePath: string) => boolean | ||
@@ -54,2 +49,9 @@ type CssLoaderImportFunction = (parsedImport: string, resourcePath: string) => boolean | ||
interface UrlLoaderOptions { | ||
esModules?: boolean | ||
fallback?: WebpackLoader | ||
limit?: boolean | number | string | ||
mimetype?: string | ||
} | ||
interface NuxtConfigurationLoaders { | ||
@@ -59,4 +61,4 @@ css?: CssLoaderOptions | ||
file?: FileLoaderOptions | ||
fontUrl?: FileLoaderOptions | ||
imgUrl?: FileLoaderOptions | ||
fontUrl?: UrlLoaderOptions | ||
imgUrl?: UrlLoaderOptions | ||
less?: Less.Options | ||
@@ -63,0 +65,0 @@ pugPlain?: PugOptions |
{ | ||
"name": "@nuxt/types", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Nuxt.js types", | ||
@@ -5,0 +5,0 @@ "repository": "nuxt/typescript", |
34888
654