is there way can visual studio use <autosync enabled=true />
in _references.js
file local files, not strip additional external reference add personally? e.g. in following file, autosync strips react reference:
//_references.js: /// <autosync enabled="true" /> /// <reference path="build/client.bundle.js" /> /// <reference path="https://facebook.com/react-0.14.0.min.js" />
(you need tick tools -> options -> text editor -> javascript -> intellisense -> download remote references work without autosync enabled=true
)
i keep autosyncing, strips out external reference when add or remove script. there way can tell not to? e.g.
/// <reference donotautosync path="https://facebook.com/react-0.14.0.min.js" />
adding them different file seemed work me:
//_externalrefs.js /// <reference path="https://facebook.com/react-0.14.0.min.js" /> /// <reference path="https://facebook.com/react-dom-0.14.0.min.js" /> /// <reference path="../node_modules/react-bootstrap/dist/react-bootstrap.js" />
Comments
Post a Comment