Skip to content

Commit

Permalink
Setting web pack output target to UMD.
Browse files Browse the repository at this point in the history
  • Loading branch information
taxee committed Sep 9, 2016
1 parent 6616a13 commit 9be7d33
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions webpack/webpack.config.js
@@ -1,10 +1,12 @@
var webpack = require('webpack');

module.exports = {
// context: __dirname,
entry: "./src/index.js",
output: {
filename: "./dist/index.js"
filename: "./dist/index.js",
libraryTarget: 'umd',
library: 'taxee-tax-statistics',
umdNamedDefine: true
},
module: {
loaders: [
Expand Down

0 comments on commit 9be7d33

Please sign in to comment.