diff --git a/.prettierignore b/.prettierignore index 0c207fd02..fe33ef3b9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,4 +4,8 @@ node_modules/ dist/ package.json CHANGELOG.md -.cache \ No newline at end of file +.cache +babel.js +index.js +patch.js +root.js \ No newline at end of file diff --git a/root.js b/root.js index 756a9ea90..6f4cec538 100644 --- a/root.js +++ b/root.js @@ -5,7 +5,7 @@ if (module.hot) { if (!module.parents || module.parents.length === 0) { throw new Error( 'React-Hot-Loader: `react-hot-loader/root` is not supported on your system. ' + - 'Please use `import {hot} from "react-hot-loader"` instead', + 'Please use `import {hot} from "react-hot-loader"` instead' ); } // access parent @@ -13,7 +13,7 @@ if (module.hot) { if (!parent) { throw new Error( 'React-Hot-Loader: `react-hot-loader/root` is not supported on your system. ' + - 'Please use `import {hot} from "react-hot-loader"` instead', + 'Please use `import {hot} from "react-hot-loader"` instead' ); } // remove self from a cache