Skip to content

Commit

Permalink
sound effects
Browse files Browse the repository at this point in the history
  • Loading branch information
jwmke committed Apr 13, 2024
1 parent ac20ec0 commit 8d90086
Show file tree
Hide file tree
Showing 6 changed files with 747 additions and 5 deletions.
22 changes: 19 additions & 3 deletions src/ui/v1/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
const nextConfig = {
webpack: (config) => {
config.module.rules.push({
test: /\.mp3$/,
use: {
loader: 'file-loader',
options: {
name: '[name].[ext]',
outputPath: 'static/media',
publicPath: '/_next/static/media',
},
},
});

return config;
},
};

export default nextConfig;
Loading

0 comments on commit 8d90086

Please sign in to comment.