How to convert double-quote to single quote of key-values in an object?

前端 未结 0 1048
走了就别回头了
走了就别回头了 2021-02-06 00:14

To generate a .js file, I\'m trying to convert a string like that :

let file = "module.exports = {
  plugins: [
    &q         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题