Skip to content

Commit c577fa8

Browse files
committed
[Project] Try to fix fail import
1 parent 13a9483 commit c577fa8

File tree

13 files changed

+22
-22
lines changed

13 files changed

+22
-22
lines changed

dev/components/Body.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/* ******** IMPORTS ******** */
88
/* ************************************* */
99
import React, { Component } from 'react';
10-
import { JsonTree } from '../../src/JsonTree.jsx';
10+
import { JsonTree } from '../../src/JsonTree.js';
1111

1212
/* ************************************* */
1313
/* ******** VARIABLES ******** */

gulp/config/webpack-dev.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = {
3434
module: {
3535
loaders: [
3636
{
37-
test: /\.jsx?/,
37+
test: /\.js?/,
3838
exclude: /node_modules/,
3939
loader: 'babel',
4040
},

gulp/config/webpack-prod.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232
module: {
3333
loaders: [
3434
{
35-
test: /\.jsx?/,
35+
test: /\.js?/,
3636
exclude: /node_modules/,
3737
loader: 'babel',
3838
},

src/JsonTree.jsx renamed to src/JsonTree.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
/* ******** IMPORTS ******** */
88
/* ************************************* */
99
import React, { Component, PropTypes } from 'react';
10-
import JsonNode from './components/JsonNode.jsx';
11-
import { value, object, array } from './utils/styles.jsx';
12-
import deltaTypes from './utils/deltaTypes.jsx';
13-
import objectTypes from './utils/objectTypes.jsx';
10+
import JsonNode from './components/JsonNode.js';
11+
import { value, object, array } from './utils/styles';
12+
import deltaTypes from './utils/deltaTypes';
13+
import objectTypes from './utils/objectTypes';
1414

1515
const { getObjectType } = objectTypes;
1616

src/components/JsonAddValue.jsx renamed to src/components/JsonAddValue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/* ************************************* */
99
import React, { Component, PropTypes } from 'react';
1010
import { HotKeys } from 'react-hotkeys';
11-
import parse from '../utils/parse.jsx';
11+
import parse from '../utils/parse.js';
1212

1313
/* ************************************* */
1414
/* ******** VARIABLES ******** */

src/components/JsonArray.jsx renamed to src/components/JsonArray.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
/* ******** IMPORTS ******** */
88
/* ************************************* */
99
import React, { Component, PropTypes } from 'react';
10-
import JsonNode from './JsonNode.jsx';
11-
import JsonAddValue from './JsonAddValue.jsx';
12-
import objectTypes from '../utils/objectTypes.jsx';
13-
import { ADD_DELTA_TYPE, REMOVE_DELTA_TYPE, UPDATE_DELTA_TYPE } from '../utils/deltaTypes.jsx';
10+
import JsonNode from './JsonNode.js';
11+
import JsonAddValue from './JsonAddValue.js';
12+
import objectTypes from '../utils/objectTypes.js';
13+
import { ADD_DELTA_TYPE, REMOVE_DELTA_TYPE, UPDATE_DELTA_TYPE } from '../utils/deltaTypes.js';
1414

1515
const { getObjectType } = objectTypes;
1616

src/components/JsonNode.jsx renamed to src/components/JsonNode.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
/* ******** IMPORTS ******** */
88
/* ************************************* */
99
import React, { Component, PropTypes } from 'react';
10-
import JsonValue from './JsonValue.jsx';
11-
import JsonObject from './JsonObject.jsx';
12-
import JsonArray from './JsonArray.jsx';
13-
import objectTypes from '../utils/objectTypes.jsx';
10+
import JsonValue from './JsonValue.js';
11+
import JsonObject from './JsonObject.js';
12+
import JsonArray from './JsonArray.js';
13+
import objectTypes from '../utils/objectTypes.js';
1414

1515
const { getObjectType } = objectTypes;
1616

src/components/JsonObject.jsx renamed to src/components/JsonObject.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
/* ******** IMPORTS ******** */
88
/* ************************************* */
99
import React, { Component, PropTypes } from 'react';
10-
import JsonNode from './JsonNode.jsx';
11-
import JsonAddValue from './JsonAddValue.jsx';
12-
import { ulStyle, plusStyle, minusStyle } from '../utils/styles.jsx';
13-
import objectTypes from '../utils/objectTypes.jsx';
14-
import { ADD_DELTA_TYPE, REMOVE_DELTA_TYPE, UPDATE_DELTA_TYPE } from '../utils/deltaTypes.jsx';
10+
import JsonNode from './JsonNode.js';
11+
import JsonAddValue from './JsonAddValue.js';
12+
import { ulStyle, plusStyle, minusStyle } from '../utils/styles.js';
13+
import objectTypes from '../utils/objectTypes.js';
14+
import { ADD_DELTA_TYPE, REMOVE_DELTA_TYPE, UPDATE_DELTA_TYPE } from '../utils/deltaTypes.js';
1515

1616
const { getObjectType } = objectTypes;
1717

src/components/JsonValue.jsx renamed to src/components/JsonValue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/* ************************************* */
99
import React, { Component, PropTypes } from 'react';
1010
import { HotKeys } from 'react-hotkeys';
11-
import parse from '../utils/parse.jsx';
11+
import parse from '../utils/parse.js';
1212

1313
/* ************************************* */
1414
/* ******** VARIABLES ******** */
File renamed without changes.

0 commit comments

Comments
 (0)