-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 use rescripts to instead react-app-rewired (#367)
- Loading branch information
Showing
5 changed files
with
35 additions
and
31 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,4 +1,3 @@ | ||
SKIP_PREFLIGHT_CHECK=true | ||
BROWSER=none | ||
PORT=7100 | ||
WDS_SOCKET_PORT=7100 |
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,27 @@ | ||
const { name } = require('./package'); | ||
|
||
module.exports = { | ||
webpack: config => { | ||
config.output.library = `${name}-[name]`; | ||
config.output.libraryTarget = 'umd'; | ||
config.output.jsonpFunction = `webpackJsonp_${name}`; | ||
|
||
return config; | ||
}, | ||
|
||
devServer: _ => { | ||
const config = {}; | ||
|
||
config.port = '7100'; | ||
config.headers = { | ||
'Access-Control-Allow-Origin': '*', | ||
}; | ||
config.historyApiFallback = true; | ||
|
||
config.hot = false; | ||
config.watchContentBase = false; | ||
config.liveReload = false; | ||
|
||
return config; | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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
f3f46f7
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.
Deploy preview for website ready!
Built with commit undefined
https://ant-design-landing-build-k88b25b9r.now.sh