Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Commit ad9c8a2

Browse files
committed
Add npm start stask and fix webpack alias to the lib
1 parent 8422f9f commit ad9c8a2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

examples/basic/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"babel-preset-es2015": "^6.1.18",
1717
"babel-preset-react": "^6.1.18",
1818
"webpack": "^1.12.6"
19+
},
20+
"scripts": {
21+
"start": "webpack --watch"
1922
}
2023
}

examples/basic/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
// This will make the redux-simpler-router module resolve to the
2222
// latest src instead of using it from npm. Remove this if running
2323
// outside of the source.
24-
var src = path.join(__dirname, '..', '..', 'src')
24+
var src = path.join(__dirname, '..', '..', 'lib')
2525
var fs = require('fs')
2626
if (fs.existsSync(src)) {
2727
// Use the latest src

0 commit comments

Comments
 (0)