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,
|
||||
"sourceMap": true
|
||||
},
|
||||
"include": ["src/**/*", "src/custom.d.ts"],
|
||||
"include": ["src/**/*", "src/custom.d.ts", "src/audio.d.ts"],
|
||||
"exclude": ["node_modules", "**/*.spec.ts"]
|
||||
}
|
||||
|
||||
@@ -76,6 +76,11 @@ module.exports = {
|
||||
use: 'webpack-webmanifest-loader',
|
||||
type: 'asset/resource',
|
||||
},
|
||||
{
|
||||
// Add support for audio
|
||||
test: /\.(mp3)$/i,
|
||||
type: 'asset/resource',
|
||||
},
|
||||
{
|
||||
// Add inlining of SVG
|
||||
test: /\.svg$/i,
|
||||
|
||||
Reference in New Issue
Block a user