Permalink
Browse files

Build shrugapillar into the demo source

  • Loading branch information...
1 parent e7acafc commit 565f15bae5cd0fc23578987cf7ee512bb2be70bb @ndrwhr ndrwhr committed Aug 21, 2016
Showing with 4 additions and 12 deletions.
  1. +0 −11 conf/webpack.demo.js
  2. +0 −1 demo/index.html
  3. +2 −0 demo/src/index.js
  4. +2 −0 demo/src/reducer.js
View
@@ -30,17 +30,6 @@ const BASE_CONFIG = {
};
module.exports = [Object.assign({}, BASE_CONFIG, {
- // Output a browser version of the library in the demo dist folder.
- entry: [
- path.resolve(__dirname, '../src/index.js'),
- ],
- output: {
- path: path.join(__dirname, '../demo/dist'),
- filename: 'shrugapillar.js',
- library: 'Shrugapillar',
- libraryTarget: 'var',
- },
-}), Object.assign({}, BASE_CONFIG, {
// Compile the demo source.
entry: [
path.resolve(__dirname, '../demo/src/index.js'),
View
@@ -5,7 +5,6 @@
<title>Build your own shrugapillar!</title>
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,400" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="dist/demo.css">
- <script type="text/javascript" src="dist/shrugapillar.js"></script>
<script type="text/javascript" src="dist/demo.js"></script>
</head>
<body>
View
@@ -1,5 +1,7 @@
import {createStore} from 'redux';
+import * as Shrugapillar from '../../src';
+
import * as Actions from './actions';
import reducer from './reducer';
View
@@ -1,3 +1,5 @@
+import * as Shrugapillar from '../../src';
+
import * as Actions from './actions';
const DEFAULT_STATE = {

0 comments on commit 565f15b

Please sign in to comment.