Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
f4988e22
Commit
f4988e22
authored
7 years ago
by
Joe Haddad
Browse files
Options
Download
Email Patches
Plain Diff
Update comments for accuracy
parent
fc7c9915
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/react-scripts/config/webpack.config.dev.js
+2
-1
packages/react-scripts/config/webpack.config.dev.js
packages/react-scripts/config/webpack.config.prod.js
+2
-1
packages/react-scripts/config/webpack.config.prod.js
with
4 additions
and
2 deletions
+4
-2
packages/react-scripts/config/webpack.config.dev.js
+
2
-
1
View file @
f4988e22
...
@@ -31,7 +31,8 @@ const publicUrl = '';
...
@@ -31,7 +31,8 @@ const publicUrl = '';
const
env
=
getClientEnvironment
(
publicUrl
);
const
env
=
getClientEnvironment
(
publicUrl
);
// Options for PostCSS as we reference these options twice
// Options for PostCSS as we reference these options twice
// Adds vendor prefixing to support IE9 and above
// Adds vendor prefixing based on your specified browser support in
// package.json
const
postCSSLoaderOptions
=
{
const
postCSSLoaderOptions
=
{
// Necessary for external CSS imports to work
// Necessary for external CSS imports to work
// https://github.com/facebookincubator/create-react-app/issues/2677
// https://github.com/facebookincubator/create-react-app/issues/2677
...
...
This diff is collapsed.
Click to expand it.
packages/react-scripts/config/webpack.config.prod.js
+
2
-
1
View file @
f4988e22
...
@@ -56,7 +56,8 @@ const extractTextPluginOptions = shouldUseRelativeAssetPaths
...
@@ -56,7 +56,8 @@ const extractTextPluginOptions = shouldUseRelativeAssetPaths
:
{};
:
{};
// Options for PostCSS as we reference these options twice
// Options for PostCSS as we reference these options twice
// Adds vendor prefixing to support IE9 and above
// Adds vendor prefixing based on your specified browser support in
// package.json
const
postCSSLoaderOptions
=
{
const
postCSSLoaderOptions
=
{
// Necessary for external CSS imports to work
// Necessary for external CSS imports to work
// https://github.com/facebookincubator/create-react-app/issues/2677
// https://github.com/facebookincubator/create-react-app/issues/2677
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets