diff --git a/package.json b/package.json index 8bfc29d22..376387963 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "react-easy-emoji": "^1.2.0", "react-helmet": "^5.2.0", "react-highlight-words": "^0.11.0", - "react-hot-loader": "^4.3.3", + "react-hot-loader": "^4.3.5", "react-i18next": "^7.5.0", "react-redux": "^5.0.7", "react-router": "^4.2.0", @@ -126,12 +126,12 @@ "source-map-support": "^0.5.4", "style-loader": "^0.20.3", "url-loader": "^1.0.1", - "webpack": "^4.12.1", + "webpack": "^4.17.1", "webpack-cli": "^3.0.8", "webpack-pwa-manifest": "^3.6.2", "webpack-serve": "^2.0.2", "webpack-serve-overlay": "^0.2.2", - "webpack-serve-waitpage": "^1.0.0", + "webpack-serve-waitpage": "^1.0.2", "workbox-webpack-plugin": "^3.3.1", "yaml-loader": "^0.5.0" } diff --git a/source/sites/embauche.gouv.fr/entry.js b/source/sites/embauche.gouv.fr/entry.js index 30f27216c..44c5c2187 100644 --- a/source/sites/embauche.gouv.fr/entry.js +++ b/source/sites/embauche.gouv.fr/entry.js @@ -2,6 +2,7 @@ import 'iframe-resizer' import React from 'react' import { render } from 'react-dom' import App from './App' + let anchor = document.querySelector('#js') render(, anchor) diff --git a/yarn.lock b/yarn.lock index bc92d5f7a..7503cb898 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6655,7 +6655,7 @@ react-highlight-words@^0.11.0: highlight-words-core "^1.2.0" prop-types "^15.5.8" -react-hot-loader@^4.3.3: +react-hot-loader@^4.3.5: version "4.3.5" resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.3.5.tgz#d8659839d8072d4b78938a776f29f5f1d2a40170" dependencies: @@ -8321,7 +8321,7 @@ webpack-serve-overlay@^0.2.2: ansi-html "0.0.7" html-entities "^1.2.1" -webpack-serve-waitpage@^1.0.0: +webpack-serve-waitpage@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/webpack-serve-waitpage/-/webpack-serve-waitpage-1.0.2.tgz#de9b4732532b89fa035402afbe6dbda58cc9e50e" dependencies: @@ -8370,7 +8370,7 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.12.1: +webpack@^4.17.1: version "4.17.1" resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.17.1.tgz#0f026e3d823f3fc604f811ed3ea8f0d9b267fb1e" dependencies: