Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed appSrc from include confition
  • Loading branch information
jvorcak committed Sep 4, 2016
commit 5e161d012fc5e413c98077f1a918955bde9e8d86
5 changes: 2 additions & 3 deletions config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,12 @@ module.exports = {
// allow it implicitly so we also enable it.
{
test: /\.json$/,
exclude: /\/manifest.json$/,
exclude: /\/manifest\.json$/,
loader: 'json'
},
// A special case for manifest.json to place it into build root directory.
{
test: /\/manifest.json$/,
include: [paths.appSrc],
test: /\/manifest\.json$/,
loader: 'file',
query: {
name: 'manifest.json?[hash:8]'
Expand Down
5 changes: 2 additions & 3 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,12 @@ module.exports = {
// allow it implicitly so we also enable it.
{
test: /\.json$/,
exclude: /\/manifest.json$/,
exclude: /\/manifest\.json$/,
loader: 'json'
},
// A special case for manifest.json to place it into build root directory.
{
test: /\/manifest.json$/,
include: [paths.appSrc],
test: /\/manifest\.json$/,
loader: 'file',
query: {
name: 'manifest.json?[hash:8]'
Expand Down