Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
Fix Showroom build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kir Belevich committed Apr 7, 2017
1 parent b7b2678 commit 8d1fb7b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -6,6 +6,8 @@ yarn-error.log
*.eot
*.woff2
*.ttf
example-built.js
example-built.js.map
index-built.js
index-built.js.map
index.html
8 changes: 5 additions & 3 deletions .npmignore
@@ -1,7 +1,9 @@
example
example.js
example-built.js
example-built.js.map
karma.conf.js
webpack.config.build.babel.js
webpack.config.dev.babel.js
webpack.config.build.js
webpack.config.dev.js
webpack.config.test.js
tests
*.woff
Expand Down
7 changes: 5 additions & 2 deletions webpack.config.build.js
Expand Up @@ -6,10 +6,13 @@ const WebpackErrorNotificationPlugin = require('webpack-error-notification')
module.exports = {
cache: true,
devtool: 'source-map',
entry: './index',
entry: {
index: './index.js',
example: './example.js'
},
output: {
path: path.resolve('./'),
filename: 'index-built.js',
filename: '[name]-built.js',
library: 'kui',
libraryTarget: 'umd',
umdNamedDefine: true
Expand Down

0 comments on commit 8d1fb7b

Please sign in to comment.