mirror of
https://github.com/jcreek/SelectionWheel.git
synced 2026-07-12 18:53:45 +00:00
feat(*): Add support for mp3 files
This commit is contained in:
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module '*.mp3';
|
||||||
+1
-1
@@ -3,6 +3,6 @@
|
|||||||
"preserveConstEnums": true,
|
"preserveConstEnums": true,
|
||||||
"sourceMap": true
|
"sourceMap": true
|
||||||
},
|
},
|
||||||
"include": ["src/**/*", "src/custom.d.ts"],
|
"include": ["src/**/*", "src/custom.d.ts", "src/audio.d.ts"],
|
||||||
"exclude": ["node_modules", "**/*.spec.ts"]
|
"exclude": ["node_modules", "**/*.spec.ts"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,6 +76,11 @@ module.exports = {
|
|||||||
use: 'webpack-webmanifest-loader',
|
use: 'webpack-webmanifest-loader',
|
||||||
type: 'asset/resource',
|
type: 'asset/resource',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
// Add support for audio
|
||||||
|
test: /\.(mp3)$/i,
|
||||||
|
type: 'asset/resource',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
// Add inlining of SVG
|
// Add inlining of SVG
|
||||||
test: /\.svg$/i,
|
test: /\.svg$/i,
|
||||||
|
|||||||
Reference in New Issue
Block a user