From c4662f9566ad17326bac069b1191b0596e70a5bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sampo=20Kivist=C3=B6?= Date: Wed, 24 Jul 2019 20:55:06 +0300 Subject: [PATCH] Updated dependencies --- package.json | 26 +++++++++++++------------- src/components/Incrementer.scss | 4 +++- src/index.tsx | 1 + webpack.config.js | 10 ++++------ 4 files changed, 21 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index b97d051..e43ee78 100644 --- a/package.json +++ b/package.json @@ -17,26 +17,26 @@ "author": "Dominic Gannaway", "license": "MIT", "dependencies": { - "inferno": "^7.1.9" + "inferno": "^7.2.0" }, "devDependencies": { - "@babel/core": "^7.3.4", - "@babel/plugin-proposal-class-properties": "7.3.4", - "@babel/preset-env": "7.3.4", + "@babel/core": "^7.5.5", + "@babel/plugin-proposal-class-properties": "7.5.5", + "@babel/preset-env": "7.5.5", "@babel/preset-typescript": "^7.3.3", - "babel-loader": "^8.0.5", + "babel-loader": "^8.0.6", "babel-plugin-inferno": "^6", - "clean-webpack-plugin": "^1.0.1", - "css-loader": "^2.1.0", + "clean-webpack-plugin": "^3.0.0", + "css-loader": "^3.1.0", "html-webpack-plugin": "^3.2.0", - "node-sass": "^4.11.0", + "node-sass": "^4.12.0", "sass-loader": "^7.1.0", "source-map-loader": "^0.2.4", "style-loader": "^0.23.1", - "tslint": "^5.13.1", - "typescript": "^3.3.3333", - "webpack": "4.29.6", - "webpack-cli": "^3.2.3", - "webpack-dev-server": "3.2.1" + "tslint": "^5.18.0", + "typescript": "^3.5.3", + "webpack": "4.37.0", + "webpack-cli": "^3.3.6", + "webpack-dev-server": "3.7.2" } } diff --git a/src/components/Incrementer.scss b/src/components/Incrementer.scss index 6cabbba..de30a6b 100644 --- a/src/components/Incrementer.scss +++ b/src/components/Incrementer.scss @@ -1,4 +1,6 @@ .my-button { - background: teal; + background: #750077; color: white; + display: block; + padding: 10px; } diff --git a/src/index.tsx b/src/index.tsx index 37a7ced..a0b36a2 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,5 +1,6 @@ import { Component, render, version } from 'inferno'; import { Incrementer } from './components/Incrementer'; +import './main.css'; const container = document.getElementById('app'); diff --git a/webpack.config.js b/webpack.config.js index 47a2cc1..576cedf 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,4 +1,4 @@ -const CleanWebpackPlugin = require('clean-webpack-plugin'); +const CleanWebpackPlugin = require('clean-webpack-plugin').CleanWebpackPlugin; const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { @@ -49,10 +49,8 @@ module.exports = { inject: "body" } ), - new CleanWebpackPlugin( - ["dist"], { - verbose: true - } - ) + new CleanWebpackPlugin({ + verbose: true + }) ] };