-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
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
Bundle external libraries #42
Conversation
@@ -9,7 +9,8 @@ | |||
"version": "0.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
一見関係なさそうな差分もあるが、これは
npm install --save @microsoft/office-js
npm install --save @fluentui/web-components
で発生した差分なので、そのままコミットしている。
}, | ||
{ | ||
from: "node_modules/@fluentui/web-components/dist/web-components.min.js", | ||
to: "lib/fluentui/web-components/web-components.min.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node_modules/@fluentui/web-components
にライセンスファイルが含まれていなかったのでコピーしていない。
@@ -79,6 +79,26 @@ module.exports = async (env, options) => { | |||
} | |||
}, | |||
}, | |||
{ | |||
from: "node_modules/@microsoft/office-js/dist", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dist配下の全てをコピーしているので、すべての言語のモジュールをコピーしている。
それなりのサイズがあるので(80MB)、サポートする言語のみに限定しても良いかもしれない。
レビューをお願いします。 |
特に問題はなさそうに思いますのでマージします。ありがとうございます! |
Bundle external libraries and use them instead of CDN.
Test