This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
Scaffolded app includes additional .js files #236
Closed
Description
Not sure if this should go here or here, but the freshly scaffolded react app seems to include additional index.js
and registerServiceWorker.js
file in its src/
directory.
They don't cause any issue, and can be simply deleted, but I don't see any reason for them to be there either.
Is this a bug report?
Probably
Environment
npm ls react-scripts-ts
(if you haven’t ejected): 2.13.0node -v
: 8.9.4npm -v
: 5.4.2yarn --version
(if you use Yarn): 1.3.2
Then, specify:
- Operating system: macOS 10.13.2
Steps to Reproduce
create-react-app test-scaffold --scripts-version=react-scripts-ts
Expected Behavior
tree test-scaffold/src
outputs:
test-scaffold/src
├── App.css
├── App.test.tsx
├── App.tsx
├── index.css
├── index.tsx
├── logo.svg
└── registerServiceWorker.ts
0 directories, 7 files
Actual Behavior
tree test-scaffold/src
outputs:
test-scaffold/src
├── App.css
├── App.test.tsx
├── App.tsx
├── index.css
├── index.js
├── index.tsx
├── logo.svg
├── registerServiceWorker.js
└── registerServiceWorker.ts
0 directories, 9 files
Metadata
Metadata
Assignees
Labels
No labels