Module bundler that bundles javascript to a string?

前端 未结 0 1182
轮回少年
轮回少年 2020-12-13 04:30

I\'m trying to bundle a javascript string using webpack, rollup, parcel, etc.

What I mean is, for example:

let str = `
  import { foo } from \'./bar\';         


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