Skip to content

Commit

Permalink
fix(client): correctly resolve resources on build
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac authored and nikku committed Nov 21, 2019
1 parent 029377d commit dade42b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ module.exports = {
filename: '[name].js',
chunkFilename: '[name].[id].js'
},
resolve: DEV && {
mainFields: [ 'browser', 'dev:module', 'module', 'main' ],
resolve: {
mainFields: DEV ? [ 'browser', 'dev:module', 'module', 'main' ] : undefined,
modules: [
'node_modules',
resourcePath
]
} || { },
},
module: {
rules: [
{
Expand Down

0 comments on commit dade42b

Please sign in to comment.