Permalink
Browse files

feat(index): expose both as jQuery and $

fixes #2
  • Loading branch information...
niieani committed Aug 2, 2016
1 parent e10f45d commit 13d0f09024fdc0828996aa3ecd487524ea6e8aad
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/index.ts
View
@@ -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.