prod build

This commit is contained in:
Benjamin Boudreau 2018-05-30 20:45:33 -04:00
parent 6874ccd46e
commit 0c93128cb3
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'],
},
}; };