diff options
-rw-r--r-- | vnext/src/app.js | 2 | ||||
-rw-r--r-- | vnext/src/components/Message.js (renamed from vnext/src/components/message.jsx) | 0 | ||||
-rw-r--r-- | vnext/webpack.config.js | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/app.js b/vnext/src/app.js index bfaf8912..ba5ce816 100644 --- a/vnext/src/app.js +++ b/vnext/src/app.js @@ -3,7 +3,7 @@ import React from "react" import PropTypes from "prop-types" import ReactDOM from "react-dom" -import Message from "./components/Message.jsx" +import Message from "./components/Message" class Page extends React.Component { constructor(props) { diff --git a/vnext/src/components/message.jsx b/vnext/src/components/Message.js index cf287ce9..cf287ce9 100644 --- a/vnext/src/components/message.jsx +++ b/vnext/src/components/Message.js diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index 3935cc01..d86fa182 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -18,7 +18,7 @@ module.exports = { module: { loaders: [ { test: /\.css$/, loader: "style-loader!css-loader" }, - { test: /\.js(x?)$/, exclude: /node_modules/, loader: "babel-loader" }, + { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader" }, { test: /\.(jpe?g|png|gif|svg)$/i, loaders: [ 'file-loader?hash=sha512&digest=hex&name=[hash].[ext]', 'image-webpack-loader' |