This commit is contained in:
Infinite 2020-01-24 16:28:30 +01:00
parent d1ffc0be0a
commit e1a1914d16
4 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,7 @@
], ],
"extends": [ "extends": [
"airbnb-typescript", "airbnb-typescript",
"airbnb/hooks",
"prettier", "prettier",
"prettier/react", "prettier/react",
"prettier/@typescript-eslint" "prettier/@typescript-eslint"

View File

@ -31,6 +31,8 @@ module.exports = merge(commonConfig, {
compress: true, compress: true,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, // enable HMR on the server host: '0.0.0.0', hot: true, // enable HMR on the server host: '0.0.0.0',
transportMode: 'ws',
injectClient: false,
port: process.env.PORT, port: process.env.PORT,
historyApiFallback: true, historyApiFallback: true,
stats: { stats: {

View File

@ -12,7 +12,7 @@
"lint": "yarn lint:css && yarn lint:js", "lint": "yarn lint:css && yarn lint:js",
"lint:js": "eslint --cache src/**/*.{ts,tsx}", "lint:js": "eslint --cache src/**/*.{ts,tsx}",
"lint:css": "stylelint 'src/**/*.scss'", "lint:css": "stylelint 'src/**/*.scss'",
"format": "prettier \"src/**/*.{js,jsx,ts,tsx}\"", "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
"gqlgen": "gql-gen --config codegen.yml" "gqlgen": "gql-gen --config codegen.yml"
}, },
"browserslist": [ "browserslist": [

View File

@ -6,6 +6,8 @@
@import "styles/scrollbars"; @import "styles/scrollbars";
@import "styles/variables"; @import "styles/variables";
@import "./components/**/*.scss";
body { body {
margin: 0; margin: 0;
padding: $pt-navbar-height 0 0 0; padding: $pt-navbar-height 0 0 0;