-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance: refractor, update, add eslint react-hook
update eslint - add "plugin:react-hooks/recommended" - update ignorePatterns to only lint files in src update .gitignore - add local .env* files update jsconfig.json update package.json - update packages - remove packages (cross-env, acorn) - update author,name,description,main fields refractor react-min config - split config.js into files: wm-config.js, wm-helper.js - update config object - update webpack config: commom, dev, prod accordingly BREAKING CHANGE: .gitignore .env.*.local files, split config.js into wm-config.js & wm-helper.js.
- Loading branch information
1 parent
5efc8d8
commit bb33d10
Showing
10 changed files
with
307 additions
and
363 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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
dist | ||
node_modules | ||
build | ||
node_modules | ||
|
||
# local .env* files | ||
.env.local | ||
.env.*.local |
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,13 +1,15 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": "./", | ||
"baseUrl": ".", | ||
"paths": { | ||
"@assets/*": [ | ||
"src/assets/*" | ||
], | ||
"@styles/*": [ | ||
"src/styles/*" | ||
] | ||
} | ||
} | ||
}, | ||
"module": "ESNext", | ||
"target": "ES6" | ||
}, | ||
"include": [ | ||
"src" | ||
] | ||
} |
Oops, something went wrong.