Skip to content

Commit

Permalink
Merge pull request #160 from dobromir-hristov/patch-1
Browse files Browse the repository at this point in the history
fix: proritize server builds over browser for packages
  • Loading branch information
swyxio authored May 22, 2019
2 parents b26f1a1 + 78141a3 commit be00194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ function webpackConfig(dir, {userWebpackConfig, useBabelrc} = {}) {
var webpackConfig = {
mode: webpackMode,
resolve: {
extensions: ['.wasm', '.mjs', '.js', '.json', '.ts']
extensions: ['.wasm', '.mjs', '.js', '.json', '.ts'],
mainFields: ['module', 'main']
},
module: {
rules: [
Expand Down

0 comments on commit be00194

Please sign in to comment.