Skip to content
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

browser-shimを入れる #9

Open
raym-design opened this issue Jun 9, 2016 · 0 comments
Open

browser-shimを入れる #9

raym-design opened this issue Jun 9, 2016 · 0 comments
Assignees
Labels

Comments

@raym-design
Copy link
Collaborator

背景

jQueryやプラグインの扱いがうまくいかないことが多い。

やりたいこと

  • jQuery本体はCDN経由で取得したい
  • bowerをやめてnpmで管理する(bower使うほど普段いろいろなプラグイン使わない)

browser-shimとは

- エイリアス、ファイルへのパス、モジュールをグローバルwindowオブジェクトに結びつける識別子を指定することによってCommonJSに対応していないモジュールをBrowserifyで使えるようにする。
- グローバルな名前空間の中にある他のライブラに依存しているshimmingライブラリにdependsを挿入する。
- 自分のパッケージの依存関係内で設定されているshimsを適用する。
@raym-design raym-design self-assigned this Jun 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant