File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ module.exports = {
59
59
// containing code from all our entry points, and the Webpack runtime.
60
60
filename : 'static/js/bundle.js' ,
61
61
// This is the URL that app is served from. We use "/" in development.
62
- publicPath : publicPath
62
+ publicPath : publicPath ,
63
+ sourcePrefix : '' ,
63
64
} ,
64
65
resolve : {
65
66
// This allows you to set a fallback for where Webpack should look for modules.
@@ -81,7 +82,9 @@ module.exports = {
81
82
} ,
82
83
83
84
module : {
84
- // First, run the linter.
85
+ unknownContextCritical : false ,
86
+
87
+ // First, run the linter.
85
88
// It's important to do this before Babel processes the JS.
86
89
preLoaders : [
87
90
{
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ module.exports = {
64
64
filename : 'static/js/[name].[chunkhash:8].js' ,
65
65
chunkFilename : 'static/js/[name].[chunkhash:8].chunk.js' ,
66
66
// We inferred the "public path" (such as / or /my-project) from homepage.
67
- publicPath : publicPath
67
+ publicPath : publicPath ,
68
+ sourcePrefix : '' ,
68
69
} ,
69
70
resolve : {
70
71
// This allows you to set a fallback for where Webpack should look for modules.
@@ -86,7 +87,9 @@ module.exports = {
86
87
} ,
87
88
88
89
module : {
89
- // First, run the linter.
90
+ unknownContextCritical : false ,
91
+
92
+ // First, run the linter.
90
93
// It's important to do this before Babel processes the JS.
91
94
preLoaders : [
92
95
{
You can’t perform that action at this time.
0 commit comments