diff options
author | Vitaly Takmazov | 2017-12-20 14:57:52 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:52 +0300 |
commit | aaa6a3a3e3d6c73139fd44498e034c1460ecfcae (patch) | |
tree | 5d828069484fe5af49bec8b0540f6a5ae6a64fe9 /vnext | |
parent | 359f345ab5739bbd258da9b8a0b053005e392ead (diff) |
jsx -> js
Diffstat (limited to 'vnext')
-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' |