문제

after optimizing a require.js project (pushing everything into one "big" .js file), is there any way to circumstance the need to include the require.js file (which then only loads one single .js file) and load the compiled file directly instead?

도움이 되었습니까?

해결책

You can use a light weight AMD loader like Almond. You will still need a loader anyway as your compiled JavaScript still use define and require.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top