Closed leeight closed 7 years ago
如果需要给 script tag 添加自定义的属性,要么给 globalRequire 添加一个 createNode 的接口,或者添加一个 afterNodeCreated hook。
script
globalRequire
createNode
afterNodeCreated
https://github.com/requirejs/requirejs/issues/1550
如果需要给
script
tag 添加自定义的属性,要么给globalRequire
添加一个createNode
的接口,或者添加一个afterNodeCreated
hook。https://github.com/requirejs/requirejs/issues/1550