We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
新功能需求:
<!--index.ejs--> <% include('./common.ejs', {src:'~@/assets/img.svg'}) %>
<!--common.ejs--> <img src="<%= src%>" />
对于这种情况,这个 src 不会被 webpack 的 url-loader 解析。
代码:https://github.com/rainke/art-demo/tree/src src分支
The text was updated successfully, but these errors were encountered:
Webpack 是基于静态分析进行编译的,这样动态的路径当然得不到解析
Sorry, something went wrong.
No branches or pull requests
新功能需求:
对于这种情况,这个 src 不会被 webpack 的 url-loader 解析。
代码:https://github.com/rainke/art-demo/tree/src src分支
The text was updated successfully, but these errors were encountered: