-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure prettier & Move dependencies to dev dependencies (#166)
* Configure prettier & Move dependencies to dev dependencies * Run `yarn format` * fix type error * ignore redundant `build` ignore in prettier
- Loading branch information
1 parent
12648b2
commit 0e8809f
Showing
71 changed files
with
3,713 additions
and
2,972 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
build | ||
public | ||
*.css |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"singleQuote": false, | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"semi": true, | ||
"jsxSingleQuote": false, | ||
"arrowParens": "always", | ||
"tailwindFunctions": [ | ||
"classNames" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -39,4 +39,4 @@ | |
"@microsoft/fetch-event-source": "^2.0.1", | ||
"tailwind-merge": "^1.14.0" | ||
} | ||
} | ||
} |
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,50 +1,50 @@ | ||
import esbuild from 'rollup-plugin-esbuild'; | ||
import postcss from 'rollup-plugin-postcss'; | ||
import commonjs from '@rollup/plugin-commonjs'; | ||
import { nodeResolve } from '@rollup/plugin-node-resolve'; | ||
import replace from '@rollup/plugin-replace'; | ||
import babel from '@rollup/plugin-babel'; | ||
import tailwindcss from 'tailwindcss'; | ||
import pkg from './package.json'; | ||
import esbuild from "rollup-plugin-esbuild"; | ||
import postcss from "rollup-plugin-postcss"; | ||
import commonjs from "@rollup/plugin-commonjs"; | ||
import { nodeResolve } from "@rollup/plugin-node-resolve"; | ||
import replace from "@rollup/plugin-replace"; | ||
import babel from "@rollup/plugin-babel"; | ||
import tailwindcss from "tailwindcss"; | ||
import pkg from "./package.json"; | ||
|
||
const tailwindConfig = require('./tailwind.config.js'); | ||
const tailwindConfig = require("./tailwind.config.js"); | ||
|
||
export default [ | ||
{ | ||
input: 'src/index.ts', | ||
output: [ | ||
{ | ||
name: "Chatbot", | ||
file: pkg.main, | ||
format: 'iife', | ||
sourcemap: "inline", | ||
inlineDynamicImports: true, | ||
globals: { | ||
"react/jsx-runtime": "jsxRuntime", | ||
"react-dom/client": "ReactDOM", | ||
"react": "React", | ||
"jotai": "jotai", | ||
}, | ||
}, | ||
], | ||
{ | ||
input: "src/index.ts", | ||
output: [ | ||
{ | ||
name: "Chatbot", | ||
file: pkg.main, | ||
format: "iife", | ||
sourcemap: "inline", | ||
inlineDynamicImports: true, | ||
globals: { | ||
"react/jsx-runtime": "jsxRuntime", | ||
"react-dom/client": "ReactDOM", | ||
react: "React", | ||
jotai: "jotai", | ||
}, | ||
}, | ||
], | ||
|
||
plugins: [ | ||
nodeResolve(), | ||
esbuild(), | ||
postcss({ | ||
extensions: ['.css'], | ||
plugins: [tailwindcss(tailwindConfig)], | ||
}), | ||
replace({ | ||
preventAssignment: true, | ||
'process.env.NODE_ENV': JSON.stringify('dev') | ||
}), | ||
commonjs(), | ||
babel({ | ||
babelHelpers: "bundled", | ||
exclude: 'node_modules/**', | ||
presets: [["@babel/preset-react", { "runtime": "automatic" }]] | ||
}), | ||
], | ||
}, | ||
]; | ||
plugins: [ | ||
nodeResolve(), | ||
esbuild(), | ||
postcss({ | ||
extensions: [".css"], | ||
plugins: [tailwindcss(tailwindConfig)], | ||
}), | ||
replace({ | ||
preventAssignment: true, | ||
"process.env.NODE_ENV": JSON.stringify("dev"), | ||
}), | ||
commonjs(), | ||
babel({ | ||
babelHelpers: "bundled", | ||
exclude: "node_modules/**", | ||
presets: [["@babel/preset-react", { runtime: "automatic" }]], | ||
}), | ||
], | ||
}, | ||
]; |
Oops, something went wrong.
0e8809f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ayushma-fe – ./
ayushma-fe-git-master-ohcnetwork.vercel.app
ayushma-fe-ohcnetwork.vercel.app
ayushma-fe.vercel.app
ayushma.ohc.network