Skip to content

Commit

Permalink
demo updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolas committed Oct 11, 2018
1 parent e993a9c commit 79cc283
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/js/bundle.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"dev": "webpack --mode development --watch",
"build": "babel lib -d build",
"build-demo": "webpack --mode production",
"eslint": "eslint lib/*.js lib/*.jsx"
},
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ const path = require('path');
const webpack = require('webpack');

module.exports = {
entry: './lib/main.jsx',
entry: './lib/demo.jsx',
mode: process.env.WEBPACK_SERVE ? 'development' : 'production',
output: {
path: path.resolve(__dirname, 'build'),
filename: '.js'
path: path.resolve(__dirname, 'docs/js'),
filename: 'bundle.js'
},
resolve: {
extensions: ['*', '.js', '.jsx']
Expand Down

0 comments on commit 79cc283

Please sign in to comment.