Skip to content

Commit

Permalink
Resolved webpack building.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vamsi Sai committed Jul 19, 2016
1 parent 01d06de commit 01ded52
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions generators/app/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"main": "bin/server.js",
"scripts": {
"start-prod": "better-npm-run start-prod",
"build": "webpack --verbose --colors --display-error-details --config webpack/prod.config.js",
"postinstall": "webpack --display-error-details --config webpack/prod.config.js",
"build": "webpack --verbose --colors --display-error-details --config webpack/dev.config.js",
"postinstall": "webpack --display-error-details --config webpack/dev.config.js",
"lint": "eslint -c .eslintrc src",
"start-dev": "better-npm-run start-dev",
"watch-client": "better-npm-run watch-client"
Expand Down
4 changes: 2 additions & 2 deletions generators/app/templates/src/Endpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ if (globals.namespace === 'default') {
}

const Endpoints = {

};
const globalCookiePolicy = 'include';

export default Endpoints;
export {globalCookiePolicy, domain};
export {globalCookiePolicy, domain, scheme};
2 changes: 1 addition & 1 deletion generators/app/templates/src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const routes = (history) => {
<Route path="/" component={Layout}>
<IndexRoute component={Example}/>
<Route path="sosearch/:query" component={SOSearch}/>
<Redirect from="*" to="/"/>
</Route>
<Redirect from="*" to="/"/>
</Router>
);
};
Expand Down
Empty file.

0 comments on commit 01ded52

Please sign in to comment.