-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade webpack and dev server
- Loading branch information
1 parent
319daee
commit 28745e3
Showing
50 changed files
with
6,712 additions
and
146,897 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
|
||
// Make sure any symlinks in the project folder are resolved: | ||
// https://github.com/facebookincubator/create-react-app/issues/637 | ||
const appDirectory = fs.realpathSync(process.cwd()); | ||
const resolveApp = relativePath => path.resolve(appDirectory, relativePath); | ||
|
||
module.exports = { | ||
appBuild: resolveApp('dist'), | ||
appDist: resolveApp('dist'), | ||
appPublic: resolveApp('docs'), | ||
appHtml: resolveApp('docs/index.html'), | ||
appIndexJs: resolveApp('docs'), | ||
appDistJs: resolveApp('src/index.js'), | ||
appPackageJson: resolveApp('package.json'), | ||
appDemo: resolveApp('docs'), | ||
appSrc: resolveApp('src'), | ||
appNodeModules: resolveApp('node_modules'), | ||
}; |
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,14 @@ | ||
const autoprefixer = require('autoprefixer'); | ||
const flexBugFixes = require('postcss-flexbugs-fixes'); | ||
|
||
module.exports = { | ||
// Necessary for external CSS imports to work | ||
// https://github.com/facebookincubator/create-react-app/issues/2677 | ||
ident: 'postcss', | ||
plugins: () => [ | ||
flexBugFixes, | ||
autoprefixer({ | ||
flexbox: 'no-2009', | ||
}), | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.