Merge pull request #4 from seriousben/prod-build

prod build
This commit is contained in:
Benjamin Boudreau 2018-05-30 20:52:23 -04:00 committed by GitHub
commit a5247dd7a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -36,6 +36,9 @@ The create-react-app of embeddable widgets.
- [x] React widget (widget builder) - [x] React widget (widget builder)
- [x] Webpack changed to output a library - [x] Webpack changed to output a library
- [x] Add tests - [x] Add tests
- [x] Production Build
- [x] Minified
- [ ] Obfuscation
- [ ] Add greenkeeper - [ ] Add greenkeeper
- [ ] Integrate eslint with webpack - [ ] Integrate eslint with webpack
- [ ] Theming support - [ ] Theming support

View File

@ -25,6 +25,9 @@
"<rootDir>/jest/setup.js" "<rootDir>/jest/setup.js"
] ]
}, },
"serve": {
"content": ["./dist", "./public"]
},
"author": "seriousben https://github.com/seriousben", "author": "seriousben https://github.com/seriousben",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {

View File

@ -43,8 +43,5 @@ module.exports = {
library: 'EmbeddableWidget', library: 'EmbeddableWidget',
libraryExport: 'default', libraryExport: 'default',
libraryTarget: 'window', libraryTarget: 'window',
}, }
serve: {
content: ['./dist', './public'],
},
}; };