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
No description provided.
The text was updated successfully, but these errors were encountered:
你的意思是怎么用outils.min.js这个打包好的文件吗?
outils.min.js
Sorry, something went wrong.
感谢作者回复! 我大概明白了,如下引入方式是node的 // 只引入部分方法('outils/<方法名>') const getOS = require('outils/getOS') const OS = getOS() 我想用require.js 引入的话 就需要把模块改为require的规范,在使用r.js打包成一个js文件。请问是这样的吗?
// 只引入部分方法('outils/<方法名>') const getOS = require('outils/getOS') const OS = getOS()
对,如果是RequireJS,可以把outils.min.js放入RequireJS的 baseUrl目录下,然后使用。
RequireJS
baseUrl
define(function (require) { var outils = require('outils.min') console.log(outils.getOS()) });
楼主大大打包是用的webpack吗?
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: