-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
支持 jade 模板使用吗? #20
Comments
没试过,你加个jade的loader试试? |
晕 作者你回复真快 |
|
我想控制 js出现的位置 |
我这个是做匹配的,看起来暂时做不到,有什么好建议不? |
如果兼容 jade 的话 我想再结合: 对于全局共享的 verdor 直接: <script src="verdor"></script>对于多页面每个页面不同的chunk css、js 资源 提供一个通用占位符 和接口 动态写 对于我这个需求 我感觉我只需在 chunks 中只配置 此页面的 例如 就只用写 chunks = ['cashbox/index'] |
奇怪 就算用的 html 模板 发现没有对内容进行替换 |
<script src="vendor"></script> 原样输出 |
命令行有匹配的chunk名
…On Wed, Mar 29, 2017 at 6:09 PM, longyuan ***@***.***> wrote:
<script src="vendor"></script> 原样输出
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADMXrqvrXCLzcN3K_bLL0KyC12gWy9e3ks5rqi3DgaJpZM4Mstst>
.
--
First Honor Graduate, The Chinese University of Hong Kong
Developer, Tencent AlloyTeam
Email: lcxfs1991@gmail.com
Hong Kong Tel: (852) 63554666
Shenzhen Tel: (86) 18124006471
|
配置了 chunks = ['manifest','vendor', pathname] |
你是用jade输出么? |
不是 html |
compilation.plugin('html-webpack-plugin-before-html-processing', function(htmlPluginData, callback) { 在HtmlWebpackPlugin插件中 这个 compilation 哪来的啊? |
No description provided.
The text was updated successfully, but these errors were encountered: