-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dcd743a
commit 7f7423e
Showing
6 changed files
with
92 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
const tailwindcss = require('tailwindcss'); | ||
const autoprefixer = require('autoprefixer'); | ||
const tailwindcss = require("tailwindcss"); | ||
const autoprefixer = require("autoprefixer"); | ||
|
||
module.exports = { | ||
plugins: [tailwindcss('./tailwind.config.js'), autoprefixer] | ||
plugins: [tailwindcss("./tailwind.config.js"), autoprefixer], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ['./client/**/*.{js,jsx}', './public/index.html'], | ||
content: ["./client/**/*.{js,jsx}", "./public/index.html"], | ||
theme: { | ||
extend: {} | ||
extend: {}, | ||
}, | ||
plugins: [] | ||
plugins: [], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
const HtmlWebpackPlugin = require('html-webpack-plugin'); | ||
const path = require('path'); | ||
const HtmlWebpackPlugin = require("html-webpack-plugin"); | ||
const path = require("path"); | ||
|
||
module.exports = { | ||
entry: './client/index.js', | ||
mode: 'development', | ||
entry: "./client/index.js", | ||
mode: "development", | ||
output: { | ||
path: path.resolve(__dirname, './build'), | ||
filename: 'index_bundle.js' | ||
path: path.resolve(__dirname, "./build"), | ||
filename: "index_bundle.js", | ||
}, | ||
target: 'web', | ||
target: "web", | ||
devServer: { | ||
port: '8080', | ||
port: "8080", | ||
proxy: { | ||
'/': 'http:https://localhost:3000' | ||
"/": "http:https://localhost:3000", | ||
}, | ||
static: { | ||
directory: path.join(__dirname, './client/public') | ||
directory: path.join(__dirname, "./client/public"), | ||
}, | ||
open: true, | ||
hot: true, | ||
liveReload: true | ||
liveReload: true, | ||
}, | ||
resolve: { | ||
extensions: ['.js', '.jsx', '.json'] | ||
extensions: [".js", ".jsx", ".json"], | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.(js|jsx)$/, | ||
exclude: /node_modules/, | ||
use: 'babel-loader' | ||
use: "babel-loader", | ||
}, | ||
{ | ||
test: /\.(gif|png|jpe?g)$/, | ||
use: [ | ||
{ | ||
loader: 'file-loader', | ||
loader: "file-loader", | ||
options: { | ||
name: '[name].[ext]', | ||
outputPath: 'assets/images/' | ||
} | ||
} | ||
] | ||
name: "[name].[ext]", | ||
outputPath: "assets/images/", | ||
}, | ||
}, | ||
], | ||
}, | ||
{ | ||
test: /\.css$/i, | ||
use: ['style-loader', 'css-loader', 'postcss-loader'] | ||
} | ||
] | ||
use: ["style-loader", "css-loader", "postcss-loader"], | ||
}, | ||
], | ||
}, | ||
plugins: [ | ||
new HtmlWebpackPlugin({ | ||
template: path.resolve(__dirname, './client/public/index.html') | ||
}) | ||
] | ||
template: path.resolve(__dirname, "./client/public/index.html"), | ||
}), | ||
], | ||
}; |