From 0c93128cb3336cdfd85389e09e188d88ae4a5fa0 Mon Sep 17 00:00:00 2001 From: Benjamin Boudreau Date: Wed, 30 May 2018 20:45:33 -0400 Subject: [PATCH] prod build --- README.md | 3 +++ package.json | 3 +++ webpack.config.js | 5 +---- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d95a7fd..fe4a7ea 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,9 @@ The create-react-app of embeddable widgets. - [x] React widget (widget builder) - [x] Webpack changed to output a library - [x] Add tests +- [x] Production Build +- [x] Minified +- [ ] Obfuscation - [ ] Add greenkeeper - [ ] Integrate eslint with webpack - [ ] Theming support diff --git a/package.json b/package.json index 7bf78e2..3b3c2a4 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,9 @@ "/jest/setup.js" ] }, + "serve": { + "content": ["./dist", "./public"] + }, "author": "seriousben https://github.com/seriousben", "license": "MIT", "devDependencies": { diff --git a/webpack.config.js b/webpack.config.js index 9df3029..ab62c32 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -43,8 +43,5 @@ module.exports = { library: 'EmbeddableWidget', libraryExport: 'default', libraryTarget: 'window', - }, - serve: { - content: ['./dist', './public'], - }, + } };