feat: 将视频转写重构为纯文字异步语音识别
This commit is contained in:
@@ -6,19 +6,6 @@ const nextConfig: NextConfig = {
|
||||
"puppeteer-extra-plugin-stealth",
|
||||
"puppeteer-extra-plugin",
|
||||
],
|
||||
webpack: (config) => {
|
||||
config.module.rules.push({
|
||||
test: /\.(md|txt)$/i,
|
||||
type: "asset/source", // 让这些文件作为纯文本注入
|
||||
});
|
||||
return config;
|
||||
},
|
||||
turbopack: {
|
||||
rules: {
|
||||
"*.md": { loaders: ["raw-loader"], as: "*.js" },
|
||||
"*.txt": { loaders: ["raw-loader"], as: "*.js" },
|
||||
},
|
||||
},
|
||||
/* config options here */
|
||||
images: {
|
||||
remotePatterns: [
|
||||
|
||||
Reference in New Issue
Block a user