Skip to content

Commit

Permalink
fix: demo site was not working
Browse files Browse the repository at this point in the history
  • Loading branch information
mukeshsoni committed May 4, 2020
1 parent 22bb3a0 commit 76eb244
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions nwb.config.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
const path = require('path');

module.exports = {
type: 'react-component',
npm: {
esModules: true,
umd: {
entry: './src/ReactTelephoneInput.tsx',
global: 'ReactTelephoneInput',
externals: {
react: 'React',
},
},
},
webpack: {
config(config) {
config.entry = './src/ReactTelephoneInput';
// eslint-disable-next-line
config.resolve.alias = {
...config.alias,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"lint-staged": {
"*.{js,jsx}": [
"npm run list -- --fix",
"npm run lint -- --fix",
"prettier --write",
"npm run test -- --bail --passWithNoTests --findRelatedTests"
]
Expand Down

0 comments on commit 76eb244

Please sign in to comment.