Skip to content

Commit

Permalink
CHORE (umd): testing of umd build (#52)
Browse files Browse the repository at this point in the history
* CHORE (umd): testing of umd build

* CHORE (ci): fix ci config - add sandbox to clone
  • Loading branch information
sanusart authored Nov 22, 2019
1 parent 409e052 commit 4b5e21c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"sandboxes": ["react-dropdown-select-nzto7"]
}
2 changes: 1 addition & 1 deletion dist/react-dropdown-select.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/components/Item.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
{
"path": "./dist/react-dropdown-select.js",
"maxSize": "15 kB"
},
{
"path": "./lib/index.js",
"maxSize": "15 kB"
}
],
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/components/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const ItemComponent = styled.span`
? `
background: #f2f2f2;
color: #ccc;
ins {
text-decoration: none;
border:1px solid #ccc;
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ module.exports = {
output: {
path: path.join(__dirname, 'dist'),
filename: 'react-dropdown-select.js',
library: 'Select',
libraryTarget: 'commonjs2',
library: 'reactDropdownSelect',
libraryTarget: 'umd',
},
optimization: {
minimizer: [
Expand Down

0 comments on commit 4b5e21c

Please sign in to comment.