Skip to content

Commit 31d6fff

Browse files
committed
fix webpack, update dependencies
1 parent 53bac62 commit 31d6fff

4 files changed

Lines changed: 10 additions & 11 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ dist: trusty
33
language: node_js
44

55
node_js:
6-
- "4.0"
76
- "4"
87
- "5"
98
- "stable"

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"feathers-authentication-oauth1": "^0.2.3",
123123
"feathers-authentication-oauth2": "^0.2.3",
124124
"feathers-errors": "^2.5.0",
125-
"feathers-hooks": "^1.7.1",
125+
"feathers-hooks": "^2.0.1",
126126
"feathers-hooks-common": "^2.0.3",
127127
"feathers-nedb": "^2.6.0",
128128
"feathers-rest": "^1.6.0",
@@ -141,9 +141,9 @@
141141
"pretty-error": "^2.0.2",
142142
"prop-types": "^15.5.8",
143143
"react": "^15.4.2",
144-
"react-bootstrap": "^0.30.7",
144+
"react-bootstrap": "^0.31.0",
145145
"react-dom": "^15.4.2",
146-
"react-helmet": "^4.0.0",
146+
"react-helmet": "^5.0.3",
147147
"react-redux": "^5.0.2",
148148
"react-router": "^3.0.2",
149149
"react-router-bootstrap": "^0.23.1",
@@ -164,9 +164,9 @@
164164
"autoprefixer-loader": "^3.2.0",
165165
"babel-eslint": "^7.1.1",
166166
"babel-jest": "^19.0.0",
167-
"babel-loader": "^6.3.2",
167+
"babel-loader": "^7.0.0",
168168
"better-npm-run": "^0.0.15",
169-
"bootstrap-loader": "2.0.0",
169+
"bootstrap-loader": "^2.1.0",
170170
"bootstrap-sass": "^3.3.7",
171171
"chai": "^3.5.0",
172172
"clean-webpack-plugin": "^0.1.15",
@@ -179,7 +179,7 @@
179179
"eslint-plugin-jsx-a11y": "^4.0.0",
180180
"eslint-plugin-react": "^6.10.0",
181181
"extract-text-webpack-plugin": "2.1.0",
182-
"file-loader": "^0.10.0",
182+
"file-loader": "^0.11.1",
183183
"font-awesome": "^4.7.0",
184184
"font-awesome-webpack": "^0.0.4",
185185
"happypack": "^3.0.2",
@@ -212,8 +212,8 @@
212212
"sass-loader": "^6.0.1",
213213
"sinon": "^2.1.0",
214214
"strip-loader": "^0.1.2",
215-
"style-loader": "^0.16.1",
216-
"sw-precache-webpack-plugin": "^0.9.0",
215+
"style-loader": "^0.17.0",
216+
"sw-precache-webpack-plugin": "^0.11.0",
217217
"timekeeper": "^1.0.0",
218218
"url-loader": "^0.5.7",
219219
"webpack": "^2.2.1",

src/helpers/Html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default class Html extends Component {
2727
render() {
2828
const { assets, component, store } = this.props;
2929
const content = component ? ReactDOM.renderToString(component) : '';
30-
const head = Helmet.rewind();
30+
const head = Helmet.renderStatic();
3131

3232
return (
3333
<html lang="en-US">

webpack/prod.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ module.exports = {
190190

191191
// Ensure all our static, local assets are cached.
192192
staticFileGlobs: [path.dirname(assetsPath) + '/**/*.{js,html,css,png,jpg,gif,svg,eot,ttf,woff,woff2}'],
193-
stripPrefix: assetsPath + '/',
193+
stripPrefix: path.dirname(assetsPath),
194194

195195
directoryIndex: '/',
196196
verbose: true,

0 commit comments

Comments
 (0)