Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
Build: add webpack mainFields
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Mar 28, 2020
1 parent 398c625 commit 0f2927c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions webpack.config.js
Expand Up @@ -49,9 +49,7 @@ module.exports = {
},
resolve: {
extensions: [".js", ".jsx"],
alias: {
esquery: path.resolve(__dirname, "src/js/demo/node_modules/esquery/dist/esquery.js")
}
mainFields: ["browser", "main", "module"]
},
stats: "errors-only"
};

0 comments on commit 0f2927c

Please sign in to comment.