Skip to content

Commit

Permalink
Update package.json (#50)
Browse files Browse the repository at this point in the history
* Update package.json

* Update vite.config.mjs
  • Loading branch information
phoenixcoded20 authored May 5, 2024
1 parent b8c0635 commit 24e4f34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"scripts": {
"start": "vite",
"build": "vite build",
"build-stage": "env-cmd -f .env.qa vite build",
"preview": "vite preview",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"lint:fix": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\"",
Expand Down Expand Up @@ -95,4 +94,4 @@
"prettier": "^3.2.5",
"react-error-overlay": "6.0.11"
}
}
}
2 changes: 1 addition & 1 deletion vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import jsconfigPaths from 'vite-jsconfig-paths';
export default defineConfig({
plugins: [react(), jsconfigPaths()],
// https://github.com/jpuri/react-draft-wysiwyg/issues/1317
// base: '/free', // accessing env variable is not possible here. So hard coding this.
base: '/free', // accessing env variable is not possible here. So hard coding this.
define: {
global: 'window'
},
Expand Down

0 comments on commit 24e4f34

Please sign in to comment.