Skip to content

[Bug report] There is a bug in the code block component, causing the page to crash #1631

Open
@ykshang

Description

@ykshang

Description

When my markdown file wraps this segment, the page can compile normally. But it cannot be displayed normally。

/// js
const { DefinePlugin } = require('webpack');
module.exports = {
  // ... 其他Webpack配置
  plugins: [
    new DefinePlugin({
      'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'),
      'MY_TEST': JSON.stringify('mytest')
    })
  ]
};
 /`/`/`

Reproduction

N/A

Used Package Manager

yarn

System Info

Uncaught (in promise) SyntaxError: missing ) after argument list (at 19.html.vue?t=1740042380866:4:52)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions