Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
Description
Hello,
I just installed the last version (v.1.1.1), but the compilation failed with those errors.
`
src/index.tsx
Line 30:52: Parsing error: Unexpected token, expected ";"
src/locales/translations.ts
Line 7:76: Parsing error: Unexpected token, expected ";"
5 | Your components can import this file in 'messages.ts' files which would ruin the HMR if this isn't a separate module
6 | /
7 | export const translations: ConvertedToObjectType = {} as any;
src/utils/loadable.tsx
Line 6:25: Parsing error: Unexpected token, expected ";"
4 | fallback: React.ReactNode;
5 | }
6 | type Unpromisify = T extends Promise ? P : never;
`
Steps to reproduce
Steps to reproduce the behavior:
git clone https://github.com/react-boilerplate/react-boilerplate-cra-template.git
cd react-boilerplate-cra-template
yarn
yarn run cleanAndSetup
yarn start
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
Description
Hello,
I just installed the last version (v.1.1.1), but the compilation failed with those errors.
` src/index.tsx Line 30:52: Parsing error: Unexpected token, expected ";"
28 | 29 | const store = configureAppStore(); 30 | const MOUNT_NODE = document.getElementById("root") as HTMLElement; 31 | ReactDOM.render( 33 |
src/locales/translations.ts Line 7:76: Parsing error: Unexpected token, expected ";"
5 | Your components can import this file in 'messages.ts' files which would ruin the HMR if this isn't a separate module 6 | / 7 | export const translations: ConvertedToObjectType = {} as any;
src/utils/loadable.tsx Line 6:25: Parsing error: Unexpected token, expected ";"
4 | fallback: React.ReactNode; 5 | } 6 | type Unpromisify = T extends Promise ? P : never;
`
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior Not a failed compilation.
Versions
1.1.1
v.14.15.1 / 6.14.5 / 1.22.5