Skip to content

Commit

Permalink
initial TS functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
guizzettic committed Sep 17, 2020
1 parent 18110a5 commit 13f2b61
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 9 deletions.
Empty file added _tests_/login.test.js
Empty file.
2 changes: 1 addition & 1 deletion client/index.js → client/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { BrowserRouter } from 'react-router-dom';
import App from './App.jsx';
import App from './App.js';
import store from './store.js';

import './styles.scss';
Expand Down
Empty file added client/tsxtest.tsx
Empty file.
2 changes: 1 addition & 1 deletion dist/App.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/App.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/components/CodeEditor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/components/CodeEditor.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/containers/SessionRoom.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/tsxtest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/tsxtest.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
<!-- // entire react app -->
<div id="contents"></div>

<script src="./dist/index.js"></script>
<script src="./bundle/bundle.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ module.exports = {
use: { loader: 'ts-loader' },
exclude: /node_modules/,
},

// addition - add source-map support
{
enforce: 'pre', test: /\.js$/, exclude: /node_modules/, loader: 'source-map-loader',
Expand Down

0 comments on commit 13f2b61

Please sign in to comment.