feat: 添加源代码位置定位辅助工具
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
import type { NextConfig } from "next";
|
||||
import { codeInspectorPlugin } from 'code-inspector-plugin';
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
turbopack: {
|
||||
rules: codeInspectorPlugin({
|
||||
bundler: 'turbopack',
|
||||
}),
|
||||
}
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user