Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加换行支持、传入参数为普通js对象支持、处理图片打包输出[object Module]问题 #40

Open
aiyoudiao opened this issue Jul 11, 2020 · 0 comments

Comments

@aiyoudiao
Copy link

您好
我这边对您的项目做了少许变动,添加换行支持以及ES6模板字符串支持,目前是可以换行了,但是好像不能任意的换多行,我觉得是正则表达式需要优化。传入的数据不再是不再是完全的json,普通的js对象也行。
然后去掉了自带的file-loader,因为它在webpack 4.43.0 和 nodejs 12.18.2中使用时,页面中引入图片会出bug,输入的内容不是打包后的图片地址,而是一个[object Module],这个我处理一下,也处理了require时包含default属性的问题。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant