Skip to content

Commit

Permalink
feat(index): expose both as jQuery and $
Browse files Browse the repository at this point in the history
fixes #2
  • Loading branch information
niieani authored Aug 2, 2016
1 parent e10f45d commit 13d0f09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export = function jQuery({expose = true} = {}) {
if (expose) {
config.module = {
loaders: get(this, 'module.loaders', []).concat([
{ test: require.resolve('jquery'), loader: 'expose?$' }
{ test: require.resolve('jquery'), loader: 'expose?$!expose?jQuery' }
])
}
}
return config
}
}
}

0 comments on commit 13d0f09

Please sign in to comment.