@abcnews/aunty 15.0.1 → 15.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/config/webpack.js +1 -1
- package/ts/custom.d.ts +15 -0
package/package.json
CHANGED
package/src/config/webpack.js
CHANGED
|
@@ -227,7 +227,7 @@ function createWebpackConfig({ isModernJS } = {}) {
|
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
|
-
test: /\.(jpg|png|gif|mp4|m4v|flv|mp3|wav|m4a|eot|ttf|woff|woff2)$/,
|
|
230
|
+
test: /\.(jpg|png|gif|mp4|m4v|flv|mp3|wav|m4a|eot|ttf|woff|woff2|webm|webp|avif)$/,
|
|
231
231
|
type: 'asset'
|
|
232
232
|
},
|
|
233
233
|
{
|
package/ts/custom.d.ts
CHANGED
|
@@ -103,3 +103,18 @@ declare module '*.html' {
|
|
|
103
103
|
const html: string;
|
|
104
104
|
export default html;
|
|
105
105
|
}
|
|
106
|
+
|
|
107
|
+
declare module '*.webp' {
|
|
108
|
+
const webp: string;
|
|
109
|
+
export default webp;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
declare module '*.webm' {
|
|
113
|
+
const webm: string;
|
|
114
|
+
export default webm;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare module '*.avif' {
|
|
118
|
+
const avif: string;
|
|
119
|
+
export default avif;
|
|
120
|
+
}
|