mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 12:49:06 +08:00
feat: fix use raw-loader instead of mdx-js/loader (#3640)
This commit is contained in:
parent
bccefc6a10
commit
e3f4fc2967
@ -91,18 +91,8 @@ const config = {
|
|||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.mdx?$/,
|
test: /\.md$/,
|
||||||
use: [
|
use: 'raw-loader',
|
||||||
// `babel-loader` is optional:
|
|
||||||
{ loader: 'babel-loader', options: {} },
|
|
||||||
{
|
|
||||||
loader: '@mdx-js/loader',
|
|
||||||
/** @type {import('@mdx-js/loader').Options} */
|
|
||||||
options: {
|
|
||||||
/* jsxImportSource: …, otherOptions… */
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user