我有以下代码......
[
{
"number": 0,
"color": "blue",
"content": require('./first-card.pug')
}
...
]
当我尝试运行Webpack时,我看到......
ERROR in ./src/app/jg/cards/cards.json
Module build failed: SyntaxError: Unexpected token r
at Object.parse (native)
我需要逃跑吗?