Skip to content

Commit

Permalink
fix webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-xu committed May 3, 2019
1 parent e689652 commit 8da6ab3
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions webpack.config.js
Expand Up @@ -2,23 +2,11 @@ var path = require('path')

module.exports = {
entry: './lib/index.js',
module: {
loaders: [
{
test: /\.js$/,
loaders: ['babel-loader'],
exclude: /node_modules/
},
{
test: /\.json$/,
loader: 'json-loader'
}
]
},
output: {
filename: 'uport-jwt.js',
filename: 'did-jwt.js',
path: path.resolve(__dirname, 'dist'),
libraryTarget: 'umd',
umdNamedDefine: true
umdNamedDefine: true,
library: 'DID-JWT'
}
}

0 comments on commit 8da6ab3

Please sign in to comment.