Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 99efae6

Browse files
committed
Updating webpack and package.json
1 parent e529f47 commit 99efae6

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@
6161
"socket.io-client": "^3.0.4",
6262
"uuid": "^8.3.2",
6363
"forge-dataviz-iot-data-modules": "0.1.1",
64-
"forge-dataviz-iot-react-components": "0.1.1"
64+
"forge-dataviz-iot-react-components": "0.1.2"
6565
}
6666
}

webpack.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ var config = {
3737
plugins: ["transform-object-rest-spread"]
3838
}
3939
},
40+
{
41+
test: /forge-dataviz-iot-react-component.*.jsx?$/,
42+
loader: "babel-loader",
43+
exclude: Path.resolve(__dirname, "node_modules", "forge-dataviz-iot-react-components", "node_modules"),
44+
query: {
45+
presets: ["react", "es2015"],
46+
plugins: ["transform-object-rest-spread"]
47+
}
48+
},
4049
{
4150
test: /\.(css|sass|scss)$/,
4251
use: ExtractTextPlugin.extract({

0 commit comments

Comments
 (0)